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

Edited by ~s.o.s~: Email ID snipped; keep it on site.

4
Contributors
6
Replies
8
Views
5 Years
Discussion Span
Last Post by jaskij
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.

Edited by Ancient Dragon: n/a

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;
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.