1.11M Members

Dev c++ errors how can I fix?

 
0
 

The following errors popped up upon compiling is there a way to fix this in dev c++ ???
Please resond here or to <snip> Thank you.

\Dev-Cpp\lib\gcc\mingw32\3.4.2\include\syslimits.h [Warning] #include_next is a GCC extension <- I have mingw installed from the included updater in dev c++

C:\Dev-Cpp\include\sys\types.h ISO C++ does not support `long long' <-- this one came up alot

 
0
 

You can't fix it with that compiler because that compiler version is too old. Get free Code::Blocks with MinGW (link here), which is current.

 
0
 

I will give that a try.

 
0
 

well it seems the code will not work in codeblocks. Do I need a convertor? I initially used dev c++.

 
0
 

well it seems the code will not work in codeblocks.

They use the same compiler, just different versions... And there's no way to say what you did wrong unless you post the code here.

 
0
 

compiled ok for me

#include <iostream>

using namespace std;

int main()
{
    long long x = 123;
    cout << "Hello world! " << x << endl;
    return 0;
}
 
1
 

Ancient Dragon: there is actually a new version of Dev-C++, although not by Bloodshed. It contains MinGW GCC 4.6.2, so it should support most of the features even for C++11 ;)

http://sourceforge.net/projects/orwelldevcpp/

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article