Dev-c++ 4.0 compile errors

This is a discussion on Dev-c++ 4.0 compile errors within the C++ Programming forums, part of the General Programming Boards category; I'm new to c++ programming so i downloaded the dev-c++ compiler by bloodshed and everytime i go to compile it ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    4

    Dev-c++ 4.0 compile errors

    I'm new to c++ programming so i downloaded the dev-c++ compiler by bloodshed and everytime i go to compile it gets and error and won't compile even on basic "hello world" stuff

  2. #2
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    What is it saying?
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    4
    I'm not on my own computer at the moment, i'm at college but basically it says something about it can't do something with -o, -S and something else which i can't remember

  4. #4
    Unregistered
    Guest

    ?

    well then there is some fix, some fix that i just forgot..


    be specific boy, if you ain't gonna open ya mouth, how can i read ya mind ?

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    4
    This is the error:

    Building Makefile: "F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win"
    Executing make...
    make.exe -f "F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win" all
    make.exe: *** Warning: File `F:\My Documents\Glenn's Stuff\C++\Glenn's Projects\Makefile.win' has modification time in the future (2002-07-11 12:45:36 > 2002-07-11 12:45:34)g++.exe -c lesson\ 1.cpp -o lesson\ 1.o -I"C:\Dev-C++\include" -I"C:\Dev-C++\include\g++-3" -I"C:\Dev-C++\include" -pg -g3g++.exe: cannot specify -o with -c or -S and multiple compilationsmake.exe: *** [lesson 1.o] Error 1Execution terminated

  6. #6
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    what is the code and then say the error.

    i think your trying to program in windows and not a dos console. anf if you are programming a dos console you press press compile and run make sure when you save it that you savbe it as *.cpp
    Email: Klinerr1@nc.rr.com || AIM: MisterSako || MSN: sakotheinsane@hotmail.com

    -the shroom has spoken

  7. #7
    Registered User bljonk's Avatar
    Join Date
    Oct 2001
    Posts
    70

    Update please~

    You sould have updated your compiler long ago pal~

    I'm using Dev-C++ 4.9.41 that's the latest release ,
    Ünicode¬>world = 10.0£

  8. #8
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    not necessarily, 4 has a LOT less bugs then 5 does. And sometimes 5 will screw up your program, so you have to re-compile it to get it to work right.

    I have 4 and 5 on my computer, for compatability. For Win32 and DirectX I use 5, for Allegro I use 4.

  9. #9
    Registered User
    Join Date
    Jul 2002
    Posts
    4
    I have solved the problem it was my syntax

  10. #10
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Aside from upgrading the IDE (as suggested by bljonk) you should more importantly get the most recent Mingw release.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile errors in stl header files
    By Swordsalot in forum C++ Programming
    Replies: 2
    Last Post: 07-20-2008, 02:41 AM
  2. Replies: 3
    Last Post: 08-31-2005, 12:41 PM
  3. compile errors with date program
    By bazzano in forum C Programming
    Replies: 2
    Last Post: 08-07-2005, 07:17 AM
  4. Dev C++ help please!!!
    By caroundw5h in forum C Programming
    Replies: 7
    Last Post: 11-27-2003, 08:48 AM
  5. Dev and errors
    By Moffesto in forum C++ Programming
    Replies: 0
    Last Post: 06-22-2002, 12:17 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21