Can anyone tell when g++ replaces the __FUNCTION__ \'macro\' with the string containing the function name? It seems it can replace it not until it has check the syntactical correctness of the source c
I like to开发者_如何学C compile my code with -Wall, and sometimes even -pedantic. It\'s partly a style thing, and partly the fact that it does occasionally emit very, very useful warnings (such as usi
In a moment of madness, I decided to write a quadtree C++ template class. I\'ve run into some weird compiler error that I don\'t understand with regard to subclasses and pointers to templates. I\'ve f
How can I compile a C++ program with the GCC compiler? File info.c #include<ios开发者_如何学编程tream>
What I want to do is to create a new shared library called libxxx that links against another shared library called libzzz, this shared library has an independent \"pkg-config\"-like tool, let\'s say i
I\'m trying to configure my cross compiler (mipseb-linux-g++) to generate binaries with the MIPSI ISA.There is a flag for this \"-mips1\".I have this flag in my make file and for some reason g++ is st
I am trying to call Matlab functions from C++ code. With Matlab it comes an example of such code at /extern/examples/eng_mat/engdemo.cpp, however I found no way to build that source code.
I am migrating to OS X and now trying to use Xcode. There is a project that was compiling and running normally on a g++ linux distro, now on mac it is returning a thousand of errors. I guess that the
I\'m porting my c++ windows code (msvc & intel) to Linux (g++). The code uses lots of templates (I like metaprogramming ;-). But I can\'t compile this code:
Invoking: Cygwin C++ Linker g++ -nostartfiles -L\"E:\\cygwin\\lib\\mysql\\lib\" -lmysqlclient -lz -shared -o\"final.so\"./src/one.o ./src/two.o ./src/three.o ./src/four.o ./src/five.o