Monday, November 12, 2012

Dev-C++ 5.3.0.3 released

A newer version is available!

Here come some more fixes for the 5.3 version, but this time including quite a few performance improvements.




Changes - Version 5.3.0.3 - 11 November 2012
  • Fixed really long watch variables being cut off sometimes.
  • Fixed the goto line form playing a beep when hitting enter.
  • Fixed an infinite loop bug when parsing inheritance.
  • The tip of the day window is now focused on startup, making hiding it using the keyboard easier.
  • The C++ parser now understands what to do with <cxxx> includes: parse <xxx.h> instead.
  • Simple replacing ("Replace") now correctly replaces matches by the replacement text instead of nothing.
  • Dev-C++ will now show a nice warning dialog about incompatible caches instead of throwing exceptions.
  • Startup time has been improved by as much as 20%.
  • Code completion now properly shows all global functions again.
  • Project closing is done instantly now when using 'Scan global includes'.
  • The function tooltip now also shows constructors and destructors.
  • Added a button to Compiler Options that will autodetect compilers.
  • Updated chinese (TW) translations.
  • CPU window now opens up 50% faster after a signal is received during debugging.
  • More bug fixes here and there.



Important notices
  • For ultimate portable programming, please launch devcppPortable.exe located in the installation folder of the portable version. This launcher will tell Dev-C++ to save its configuration files in the same folder as the executable.
  • If you're getting 'Unsupported compression method' errors when extracting the portable version, please update your archiving program. The archive uses LMZA2 compression, which was added to WinRAR 3.91 and 7zip 9.04 somwhere in 2009. The latter is just as free as Dev-C++, so nothing is holding you back to extract it.



Download
  • The setup which includes MinGW32 4.7.0 can be downloaded here (25MB).
  • The setup which includes TDM-GCC x64 4.6.1 can be downloaded here (35MB).
  • The setup which does not include a compiler can be downloaded here (2MB).
  • The portable version which includes MinGW32 4.7.0 can be downloaded here (15MB).
  • The portable version which includes TDM-GCC x64 4.6.1 can be downloaded here (25MB).
  • The portable version which does not include a compiler can be downloaded here (2MB).
  • Separate compilers can be downloaded here.
  • Lastly, the source code can be found here (1MB).

All editions can run on 32-bit Windows.

All Dev-C++ editions can be updated using the No Compiler setups/zips.



Choosing between 32bit and 64bit
  • The 64bit compiler will also run op 32bit computers. Not problem at all.
  • The 64bit compiler can do everything the 32bit compiler can, including creating standard 32bit executables.
  • The 64bit compiler can do stuff the 32bit compiler can't, like creating 64bit executables. It also comes with a lot more headers and libraries.
  • There is no single reason to download the 32bit version except for maybe file size, marginally longer compiling time, or in case you have to use that specific compiler for any reason (regression problems for example).
Compiling for 32bit using TDM-GCC x64
  • To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options and select the 'TDM-GCC 32bit' profile. This profile will use the -m32 flag and use lib32 by default.
  • To force 32bit on already created projects, go to Project >> Project Options >> Compiler and select the 'TDM-GCC 32bit' compiler profile.

69 comments:

  1. Wow, Awesome!!!!!! Good Job, now I download and test it.

    Thank you :D

    ReplyDelete
  2. Thank you very much for this new version! :)

    ReplyDelete
  3. when i try to compile anything appears a popup telling me that a libintl-8.dll is missing. i'd uninstall it and install the 5.3.0.2 version, and it works well, so, i try again to run the 5.3.0.3, uninstalling the 5.3.0.2 first and re-installing the new version, and the same error apears on my screen.

    :(

    ReplyDelete
    Replies
    1. Can you check if the mentioned dll can be found in the bin folder of either Dev-Cpp\MinGW32 or Dev-Cpp\MinGW64?

      Delete
    2. it wasn't, so i downloaded from the web and the problem was solved. :S

      Delete
    3. the #include still does not work and gives me error
      32 2 c:\program files\dev-cpp\mingw32\lib\gcc\mingw32\4.7.0\include\c++\bits\c++0x_warning.h [Error] #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

      Delete
    4. downlod your dll file from www.dlldump.com an then paste it main directory

      Delete
  4. Thank you for the constant fixes!

    1) After compiling, the compile window closes regardless of "Auto close after compile" environment setting(in this version)

    2)"Goto line" does not work well with collapsed function blocks.
    When using Ctrl-G to go to that line, and any line in general after the collapsed function,
    the editor highlights a line after what's selected. The same line offset also appears when
    double clicking on a compiler error or warning(in the compiler output panel) and there are collapsed functions in the editor before the offending line.(happening since at least 5.3.0.2)

    ReplyDelete
    Replies
    1. Hello,

      1) I've been testing out some cases, but can't reproduce. Please specify some more case information:
      - Are you compiling a project or a single file?
      - What kind of code are you compiling?
      - Did you change any other settings that might be related?
      - What OS are you running?
      - ... (more = better)

      2) Will look into that.

      Delete
    2. 2) Implemented. Ctrl+G and various other pieces of code that jump to and highlight lines will now highlight the current line and will open up folds if necessary.

      Delete
  5. Thanks for your hard work on this. Are there any plans to integrate the latest TDM-GCC builds? (4.7.1.x). From v4.7 on up, writing and compiling C++11 code is a bit more uniform across compilers. Thanks again

    ReplyDelete
    Replies
    1. Hi,

      I've been testing 4.7 builds of TDM since the day they were released, but the included mingw32-make and gdb are quite buggy.

      For example, the included gdb (7.5) doesn't support commas in source paths anymore:
      http://stackoverflow.com/questions/12520185/adding-breakpoints-to-gdb-in-files-with-comma-in-path

      Also, gdb 7.5 has the tendency to silenty produce a lot more exceptions (check the debug output for them) during debugging.

      Also, mingw32-make refuses to statically link some dlls over here. I haven't investigated this very much though.

      I could of course add it to the Compilers download section at SourceForge, but I'm not including it in the major release packages yet.

      Delete
    2. Isn't it better to supply bugs to the TDM-GCC site? Their bug tracker appears to be at:
      http://sourceforge.net/p/tdm-gcc/bugs/

      Delete
  6. Thank you for your great work!!

    In Tools -> Editor Options -> Colors , a user can create her own theme, and save it for the future use.

    In 5.3.0.2, I've created such a theme. What do I do to import it to 5.3.0.3?

    - Thank you very much! )

    ReplyDelete
    Replies
    1. Hello,

      You can add themes to any Dev-C++ version by providing .syntax (which are created when you save themes) files in the configuration folder. This folder is usually located at %APPDATA%\Dev-Cpp and could be backup up at %APPDATA%\Dev-CppBackup.

      Delete
    2. Thank you very much, it works! )
      mx

      Delete
  7. Hi, first of all thanks again for your work
    I noticed a curious minor issue:

    -Opened Find dialog (appeared centered) and searched a string.
    -"String not found" (or so) message appeared centered and focused, but 'in the back' of the Find dialog and not visible. Thus, it is impossible to click it and impossible to move the Find dialog, and so.
    -The only solution I found was pressing enter or esc, in order to close the "Not found" message box, which works but a little weirdy...
    Regards.

    ReplyDelete
    Replies
    1. Hi,

      Strange. Does that always happen when you search for stuff that can't be found? I might have a fix for it though.
      http://wilcobrouwer.nl/bestanden/Dev-Cpp%205.3.0.3%20gilberto.7z

      Delete
    2. Thanks!
      Actually it does not happen all the time. I just tried to reproduce the problem, but I couldn't... :S
      I don't know under what circumstances it happens, but it sure has (not every time though).
      Regards.
      Gilberto.

      Delete
  8. One other issue there is about the Project/Class Browser (P/CB) window:

    You can make this window wider or thinner by dragging its rigth margin with your mouse -- all right.

    But try to close it altogether with your mouse. If no program window is open currently, you can restore the P/CB window back with your mouse.
    But if the program window *is* open, you cannot do so and you have to go to the View menu, disable the P/CB window, and, then, enable it back. Only after these passes, you'll be able to drag the P/CB window's right margin to the right, to make the window visible.

    Regards,
    mx

    ReplyDelete
  9. what different between MinGW32 and TDM-GCC? anyway why conio2.h cann't run? i install the modul and use the linker but didn't work

    ReplyDelete
    Replies
    1. aparently this version of devcpp has problems with devpaks, since the main include folder was changed by de mingw one.

      the only way to make your libraries run, is copying manually the headers by your self inside the include folder on mingw's folder.
      or at least, that is the only way that i could make run these kind of non-standar libraries.

      Delete
  10. I am trying to write a small test program using boost/chrono but I keep getting link errors even though the library "Boost/boost_1_51_0/stage/lib/libboost_timer-mgw46-mt-1_51.a" is added in the "project options" parameter tab.
    Boost is build using "b2 toolset=gcc" and the path set to the bin directory where Dev-Cpp is installed.

    Any pointers are welcome,
    Antoon

    ReplyDelete
  11. Dear Orwell,

    Another bug:

    Pressing F11 (==Compile & Run) on this code:
    #include
    #include
    int main(){
    int i=4007007007;
    return 0;
    }

    invokes the warning:
    "[Warning] this decimal constant is unsigned only in ISO C90 [enabled by default] "

    , but the code execution starts OK.

    If, however, you add this line:
    typeid(undef_var).name();
    and, thus, make the code this:
    #include
    #include
    int main(){
    int i=4007007007;
    typeid(undef_var).name();
    return 0;
    }

    the compiler highlights the line
    int i=4007007007;
    , instead of the erroneous one
    typeid(undef_var).name();
    .

    Me personally, I would expect the second mentioned line highlighted, not the first one... Colleagues, do you agree?.. Orwell, do you?..

    mx

    ReplyDelete
    Replies
    1. So, you'd like errors to be highlighted first, and only if no errors have been found, resort to highlighting warnings?

      Delete
    2. Yes, I'd like like errors to be highlighted first, and only if no errors have been found, resort to ISSUING warnings.

      mx

      Delete
    3. Implemented in 5.3.0.4. Please be patient, will upload a patch in the coming few days.

      I can of course send the latest versions via email. All you have to do is send me your email address of course (my email address can be found on SourceForge and somewhere in the Contact section over here).

      Delete
  12. a little question:

    could you explaint me a little what are the variants between your version and the original devcpp (4.9.9.2 and older ones), to make a good devpaks. because in the current version, usually the devpaks have several install problems.

    basically, how i have to edit the routes in the .devpackage file to make a right install on your devcpp version.

    ReplyDelete
  13. Hey man thanks alot for this (again)

    I just want to say the auto open option from "environment options" doesnt work no matter what radio button I check. Should I reinstall? am I missing something?

    ReplyDelete
  14. i running in windows 8 pro... after compiling the error says that.. "Couldn't Create Process " then the path of the .exe file were to save.. can any one help me on this error

    ReplyDelete
  15. por favor agrega soporte para crear archivos nuevos haciendo doble click la lado de derecho

    http://i.imgur.com/eDsPT.png

    ReplyDelete
  16. please add support for creating new files by double-clicking the right side


    http://i.imgur.com/eDsPT.png

    ReplyDelete
  17. any one help me for this.. i cannot used devc++ in my windows 8 pro....

    ReplyDelete
  18. Intellisense is not working :(

    ReplyDelete
    Replies
    1. Did you select "make cache" feature when you installed Dev-C++

      Delete
  19. hi,

    can some one suggest what is wrong with this code

    #include

    #define p printf

    main()
    {
    int a[3][3];
    int b,c;

    for (b=0;b<=3;b++)
    {
    for(c=0;c<=3;c++)
    {
    a[b][c]=b+c;
    p("a[%d][%d]=%d\n",b,c,a[b][c]);
    }
    }
    getch();
    }

    i am no getting desired result with this

    ReplyDelete
    Replies
    1. You are accessing index 3 of the array, which is out-of-bounds.

      Delete
    2. Please keep the comment on topic please.

      Also, you'd be much better off asking questions on programming forums or sites like StackOverflow. Much more people will be able to help you there.

      Delete
  20. Any plans to collaborate with the developers for wxDev-C++? They seem to also be developing the base code for Dev-C++ along with their wxWidgets GUI designer. It'll be good if their patches can be merged in, but this will probably be quite difficult.

    ReplyDelete
    Replies
    1. We have cooperated a bit when this project started On their side, by far most work has been done in the GUI designer (and the debugger under the hood). I basically put my focus on different things, or better put, everything else.

      We are obviously quietly borrowing fixes for problems here and there, but apart from that, we don't share much of the changes made...

      Delete
  21. Hi
    I really liked the way you're improving Dev-C++! But I'm having problems with Conio2 compiling.
    Even after I manually copy the files installed by the devpack to the compiler folder, I keep getting errors like "skipping incompatible C:\Program Files(x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib\libconio.a when searching for -lconio". As it says, it is incompatible. Is there a way to fix it?
    Thank you in advance, and greetings from Brazil,
    Thequila

    ReplyDelete
    Replies
    1. Please make sure you put x86 libraries in the lib32 folder and x64 libraries in the lib folder.

      Delete
    2. I've found my mistake: I added the -lconio on the x64 compiler config. Thanks a lot! Another thing I've found is that there's no "replace all" button, and the scope "selection only" (or something like that, mine is in portuguese) doesn't seem to work (it searches the global scope in both configurations).

      Delete
  22. Thanks a lot! It does run on Windows 8 :)

    ReplyDelete
  23. I compiled

    #include

    int main()
    {
    std::cout<<"Hello World!\n";
    std::cin.get();
    return 0;
    }

    with Dev-C++ 5.3.0.3 (32 bit using TDM-GCC x64)

    The .exe file it produced is an astonishing 4228KB big!!!

    Can someone please explain to me why this is so? I would have thought that such as simple program should certainly be less than a kilobyte. What is the world coming to?

    ReplyDelete
  24. Can you add support for importing VS208-2012 projects?

    ReplyDelete
  25. I would like you to add support for Release and Debug configuration when compiling a project.

    ReplyDelete
  26. Awesome! The "official" dev-c++ release doesn't work on Win8 =D. And this one is so more beautiful *-*.

    But, can you please an option to let autocomplete through keys? I mean, in Eclipse, when programming in java, you can input syso and press ctrl+space to auto complete to System.out.println. Couldn't you do something like this? We could configure the pattern (syso), the keys (ctrl+space) and the string to replace (System.out.println). And, maybe, an option to make it case-sensitive or case-insensitive.

    Thanks for this great release!

    ReplyDelete
  27. does this version only work with the TDM version of mingw ? i can't seem to get it to work with any other build (like the 4.7.2 mingw-w64 which used to work fine with 4.9.9.2)

    ReplyDelete
    Replies
    1. Of course not. It is supposed to work with any Windows port of GCC. I haven't payed much attention to the x64 builds of the regular MinGW though, so there might be some problems.

      Can you tell me what exactly isn't working?

      Delete
  28. I love the program, and have a suggestion. I don't know how hard it would be to implement, but I would find it very helpful. It would be awesome to be able to have multiple projects open at once, like in eclipse, instead of forcing the user to close one project to open another

    ReplyDelete
  29. Hey man this compiler have a lot of bug.

    ReplyDelete
  30. Don't know why a fscanf makes a string lose its value...
    It should be a bug because the value of that string does not lose if I use x64 compiler instead of x32.

    ReplyDelete
  31. Wow really nice blog. I'm impressed. I've just started to write C++ Tutorials so if you are interested please check my blog. Thanks in advance. http://megacplusplustutorials.blogspot.com

    ReplyDelete
  32. Hallo ,

    I really appreciate your work. You're the greatest, Mr. Orwell.

    Dank u wel~

    : )

    ReplyDelete
  33. Hi!

    Nice work! It is absolutely surprising, that the died dev-c++ developement is alive again. I am very happy to found this! Let me enumerate some feature request (FR) / bugs (BG):

    - FR: Save the CTRL+[0-9] savepoints, to keep them the next time when dev-c++ launch.
    - BG: Swap header / source does not do anything
    - FR: Help. :) Help / Help on Dev-C++ does not do anything
    - BG: Tip of the day, random tip cause crash, when dev-c++ started with .dev file association.
    - FR: Shortcut to next/prev occurrence of the current work under cursor
    - FR: Shortcut to go to the pair of current parenthesis/quotes/block
    - BG: After several launch of dev-c++ I got "Could not open language file English.lng"

    ReplyDelete
    Replies
    1. Hello,

      - That should be easily doable, added to the TODO list. However, it won't be added to 5.3.0.4, which should release this weekend, though: it's just too late too start messing around with something. Sorry about that.
      - That's quite weird. Are you sure the files are put next to each other in the file system? Also, only these file extensions are currently supported:

      headerexts: array[0..5] of AnsiString = ('.h','.hpp', '.rh', '.hh', '.hxx', '.inl');
      sourceexts: array[0..5] of AnsiString = ('.c','.cpp', '.cc', '.cxx', '.c++', '.cp');
      - It should open up "Dev-Cpp/Help/devcpp.htm" in your browser.
      - Can you explain a bit more?
      - You can do that, using Ctrl+I, and then the up/down arrows.
      - To get them to blink a few times or so? Yes, I can add that.
      - That's a really weird one.

      Are you sure there isn't something wrong with your disk, because the tip and help stuff don't work either. Also, can you provide some more information about the version of Dev-C++ you are using? Lastly, always check if running as an administrator helps.

      Delete
    2. Hello,

      Thank you, for the quick answer! First of all, i forget to mention, that I use the portable version. (5.3.0.3)

      The swap header / source problem solved. The problem was, that the header files were not the part of the project.

      I thought, i need to run devcppPortable.exe only the first time. Now, i realized, that, when I launch the new Orwell-Dev-Cpp with the "devcppPortable.exe", some preferences are different, for example, the Tools / Compiler options / Directiories. So, how to use the portable version regularly? The ".dev" file association start the "devcpp.exe", not the "devcppPortable.exe".

      Now, i see, the help function is also works, when i launch the "devcppPortable.exe", and the random help function is also not crashing.

      The incremental search is a very good feature, it is nearly, what i needed. Can you set a default search value with the current word under the cursor? I mean, when my cursor is on one of the letter of the word "printf", and i press CTRL+I, the search value is fill with "printf" by default.

      Shortcut to go to the pair of current parenthesis/quotes/block: I mean, when i press the shortcut key, the cursor position should changed to the pair of the current element. I other words (sorry for my bad english) I mean, the cursor will jump to the currently selected item in a pair of.

      I also realized, that the "Compile", "Run", and "Rebuild all" keys are also changed, would it be hard to change it to be configurable?

      I begun to compile my big project under the new dev-c++ and i got a lot of linker error messages (regarding undefined reference to sprintf, sin, strlen, etc.). It seems, that the new mingw is completely changed. Is there any know-how, what options should i pass to the linker, to solve these?

      Delete
    3. Can you tell me how to jump to the end of the second parentheses after autocompletion?!
      Thanks!

      Delete
  34. dev c 5.3.0.3 will work in windows 8???

    ReplyDelete
  35. This comment has been removed by the author.

    ReplyDelete
  36. This comment has been removed by the author.

    ReplyDelete
  37. gcc.exe gcc.exe E:\Dev-Cpp\bin\gcc.exe installation problem, cannot exec `cc1': No such file or directory. can somebody help me out pls?? i am using window 8 and Dev C++ 5.4.0

    ReplyDelete
  38. I can't running the program in win 8.
    any body know ?

    ReplyDelete
  39. can it import *.tlb files?

    #import "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.tlb"
    the above line shows error
    [General Error] Too many messages; abort.
    There must be something terribly wrong with your code. Please fix it.

    ReplyDelete
  40. gracias por el programa esta genial

    ReplyDelete
  41. I have a problem when i compile my project then run a msgbox appears says source file not found. :(

    ReplyDelete
  42. When i run my program it says some problem has stopped working correctly what should i do?

    ReplyDelete