[Dev-C++] still lost trying to use 4.9.7x or 8.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Roberto R. <rob...@ar...> - 2003-03-27 01:13:30
|
Hi all, still lost trying to use 4.9.7x or 8. Program skeleton Im use #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <windows.h> /*#include <cstdlib>*/ /*#include <iostream>*/ #include <myheaders.h> /*using namespace std;*/ scanf, fgets, fopen, fclose, fflush, printf ,fprintf, getch, lot of logic ... functions ... mean ... no cout cin cerr ... streams, etc. mean (almost I think) some standard c about 5000 code lines. All of this was comfortable with devcpp 4.9.x.x and gcc 2.9xx (build in from bloodshed) So, Im trying to use new devcpp 4.9.7x or 4.9.8.0 and gcc 3.x (build in from bloodshed) with the same source program, without changes. Need I use #include <cstdlib> or #include <iostream> namespace ... and so on with gcc 3.x ? When I compiling the above source... (without iostream & cstdlib) linker tell me: Compilador: Default compiler Building Makefile: "C:\Dev-Cpp\c\Makefile.win" Ejecutando make clean rm -f myprog.o myprog.exe gcc.exe -c myprog.C -o myprog.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/c" -I"c:/Dev-cpp/include/c++" -I"c:/Dev-Cpp/include/c++/mingw32" -I"C:/Dev-Cpp/include/c++/mingw32/bits" myprog.C: In function `int main()': myprog.C:3161: warning: assignment to `int' from `float' (old friend from 4.9.6.x too, nicely) gcc.exe myprog.o -o "myprog.exe" -L"C:/Dev-Cpp/lib" myprog.o(.eh_frame+0x11):myprog.C: undefined reference to `__gxx_personality_v0' make.exe: *** [myprog.exe] Error 1 Ejecución Terminada So I remember Ioannis told me some about ... and change <stdlib.h> with <cstdlib> still the same ... not show more errors, just that. Any ideas ? Im still lost trying to use 4.9.7x or 8. Thanks in advance Roberto |