Re: [Dev-C++] can't get dev-cpp to compile...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2004-01-17 18:10:11
|
Kovalan Muniandy wrote: > Thank you! That's interesting. Does this apply to STL classes only or > any headers, i.e. can you reference any header files without the ".h". > The code was generated by Dev-C++ (The project wizard "Hello World"). I > guess that's a bug. Only applies to C++ headers - it is a standard. The C standard library is still (as always) has .h extensions (stdio.h, etc.). BTW, it indeed is a bug. Dev-C++ has quite old project templates. And that would the smaller problem, but there are bigger ones. The usage of MinGW (the compiler beneath Dev-C++) is still used in a very obsolete fashion: Dev-C++ still uses dllwrap for example for DLL compilaton, but GCC (MinGW) strongly reccomends using "g++ -shared" for compiling DLLs. I don't know why aren't they updating this. With GCC 3.4, we "will" have header precompilation, but I don't when Dev-C++ is going to recognise it. Maybe 2-3 years after MinGW Gcc 3.4 release... -- Greetings, Balázs |