A compiler is a program which translates one language into another. The tag [compiler] should be applied to questions concerning the programming of compilers or for questions about the detailed inner workings of compilers. Don't use [compiler] for questions about options and settings for a ...

learn more… | top users | synonyms (2)

0
votes
5answers
2k views

Compilation Error after deoplyment. Doesn't recognize 'Theme' attribute

My local copy works fine, then I publish the website and I get this error. Compilation Error Description: An error occurred during the compilation of a resource required to service this ...
3
votes
3answers
87 views

compiler optimisation when returning strings

If I have private string Foo(string decrypted) { return decrypted.Substring(blah); } and private string Foo(string decrypted) { string s = decrypted.Substring(blah); return s; } Is ...
0
votes
2answers
52 views

How To Compile Wami Recorder In Windows

Hello everyone i am trying to compile the wami recorder using flex but i receive two errors --> I downloaded the src from this url http://code.google.com/p/wami-recorder/source/browse/ and made no ...
12
votes
5answers
4k views

If-Else-Return or just if-Return?

Suppose I have an if statement with a return. From the efficiency perspective, should I use if(A > B): return A+1 return A-1 or if(A > B): return A+1 else: return A-1 Can ...
0
votes
0answers
12 views

MCR (Matlab Compiler Runtime) undefinedVarOrClass error on Windows 7

I'm trying to execute an exe program that calls a dll compiled with Matlab, I am using Matlab MCR R2012b to execute it. It works OK on Windows XP 32 bits, but when trying to run it on Windows 7 (64 ...
6
votes
1answer
117 views

C compiler ??) replacement

We faced a strange issue with the Visual Studio 2005 compiler. At compile time, it replaces this string constant "... ,0x??)" with this one: "... ,0x]" We hardly learned by trying that the ...
1
vote
1answer
64 views

When/where/why is a size_t not a uint?

I've been getting a lot of criticism for using uint instead of size_t, but every time I check the toolchain I am working with turns out size_t is defined as a uint. Are there any compiler ...
0
votes
1answer
28 views

Inconsistent stack height in asm compiler

Iam trying in asm bytecode java to do this: if i have on stack the numbers 1 and 2 i want to compare them and depending on the result, on the stack will be inserted 1 or 0. But i have the following ...
0
votes
2answers
69 views

C++11 initializer_list error

Consider the code: #include <iostream> #include <vector> #include <string> int main() { std::vector<std::string> v{{"awe", "kjh"}}; // not v{"awe", "kjh"} std::cout ...
1
vote
1answer
42 views

NetBeans C++ Looking for make utility in the wrong location

My issue here is that I have all the proper compilers for C, C++, etc installed (MinGW), and they are functioning properly but Netbeans will not acces the make.exe util. I reinstalled NetBeans C++ ...
0
votes
1answer
27 views

How can I compile a libray archive with a source code file with gcc?

TL;DR - I need to compile archive.a with test.o to make an executable. Background - I am trying to call a function in a separate library from a software package I am modifying but the function (a ...
0
votes
0answers
10 views

Homebrew - `brew install freetds` leads to: “configure error: C compiler cannot create executables”

I'm using Xcode version 4.6.2. I am trying to brew install freetds, but I'm running into some trouble. I read this question, but still couldn't fix my error. First, here's the error: $ brew ...
1
vote
2answers
37 views

Compiler asm bytecode expression

How can I calculate the expression 2==2 in asm bytecode without using the new JumpInsNode(Opcodes.IF_ICMPEQ)? Also I want to store the result in a variable. e.x print (2==2) the result must be 1 ...
6
votes
0answers
148 views

How to simplify a C-style arithmetical expression containing variables during code generation?

I am trying to optimize expression evaluation in a compiler. The arithmetical expressions are all C-style, and they may contain variables. I hope to simplify the expressions as much as possible. For ...
0
votes
0answers
16 views

Failing to compile rrd

I'm having problems compiling the rrdtool with Visual Studio 2008. I have all the zip files added and extracted. I opened rrd.sln and tried a build solution for each of the 3 projects; rrdlib, ...

1 2 3 4 5 457
15 30 50 per page