Thursday, May 31, 2012

Dev-C++ released

As usual, this is a big polishing update. Most notable are speed improvements and an updated compile progress window

Changes - Version - 31 Mei 2012
  • Added a default compiler profile to TDM-GCC downloads to create 32-bit executables.
  • Ctrl+Click code browsing is more accurate now.
  • Added a function to projects which can change the C++/C default choice made when creating the project.
  • Fixed the comment/uncomment function not properly uncommenting single lines.
  • Watched variable deleting now does not delete wrong variables anymore.
  • Added TeX formatted code exporting.
  • Updated the Chinese (TC) translations (by cin.getline).
  • Compiling progress now properly updates error and warning count.
  • Warning and error logs are now updated while compiling.
  • Updated the new project window layout and fonts.
  • Fixed insert assuming an initial cursor position of (1;1).
  • Fixed a few code folding bugs regarding collapsing.
  • The mingw32-make.exe location checker now checks all bin directories instead of just the first one.
  • The function tooltip now waits 500ms after the last keystroke before parsing the code instead of parsing on each keystroke.
  • Projects with a lot of files to be opened now open a lot faster.
  • Code completion is even more accurate now, and it can now complete array items.
  • Switched to, on average, three to four times (up to 40x) faster locale variant string comparison.
  • Dev-C++'s memory manager now uses MMX instructions, making it incompatible with ancient processors.
  • Code completion cache is portable now.
  • Sped up the startup process by a few percents.
  • Typing is faster now.
  • More bug fixes.

Important notices
  • This version has GCC built-in instead of being an aditional package. It also contains, among others, D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor.
  • For ultimate portable programming, please launch devcppPortable.exe located in the main folder of the portable zip download. This will make dev 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.

The setup which includes MinGW32 can be downloaded here (25MB). The setup which includes TDM-GCC x64 can be found here (35MB). The setup which updates only the IDE can be downloaded here (2MB). The Portable zipped version which includes MinGW32 can be downloaded here (15MB). The Portable zipped version which includes TDM-GCC x64 can be downloaded here (25MB). The Portable zipped version which updates only the IDE can be downloaded here (2MB). 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 IDE only setups/zips.

RC update
The RC2 update can be found here. Its source code can be found here.

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 pass -m32 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.


  1. Hi, since I have the last comment on your previous version (yesterday) and the issue occurs the same in this version I would like to post the same here again:

    Hi there,

    nice version :)

    I encountered one minor problem, but it has existed before this version, too. If I press the Compile+Execute-Button (F9) he won't execute but only compile. Regardless how often I press the button. But this only happens if there are auto-generated version-information (buildnumber increase). That's why your program has to compiler the .rc file every time I press F9 again. Maybe that's a part of the reason why the button doesn't work functionally.

    Secondly, in editor options there is a point "appending closing bracets". Does this have any effects? Since these are ruled under code->symbol completion or do I missunderstand this checkbox?
    Otherwise you could add a german translation for this point (appears in english at the moment). Should be than "schließende Klammern hinzufügen" ;-)

    Thanks in advance,

  2. WOW! Thank you for this update! :)

    1. +1 Many thanks for this update (: !

  3. he answer you :)
    if you can help him to make it portable

  4. Gracias por este Programazo..!
    Realmente me será de Mucha Utilidad..!

  5. gdb.exe and gdb-server.exe is compiled for x64 and it doesn't works on Windows XP. Can you include 32-bit version with MinGW64?

  6. if you open the properties editor, and then click OK, you can not dial the code.

    Machine info
    Platform : Windows NT
    OS version : version 6.1 (build 7601)
    Additional info: Service Pack 1

    The following error occured in version
    Access violation at address 0013F4A0 in module 'devcpp.exe'. Read of address 00000040 (at address 0x0013F4A0)

    Please include a description of what you were doing before the error occured (please give as much precisions as possible) :

    State information follows:
    Stack trace:
    00288A17 (00187A17): ShowExceptionInfo (ExceptionsAnalyzerFrm - 564)
    00288C1F (00187C1F): TExceptionsAnalyzer.GlobalExceptionHandler (ExceptionsAnalyzerFrm - 572)
    001A89CC (000A79CC): TRegExpr.ErrorMsg (SynRegExpr - 1088)
    001B0006 (000AF006): TheFontStock.SetBaseFont (SynTextDrawer - 722)
    0020006C (000FF06C): TClassBrowser.WriteClassFolders (ClassBrowser - 699)
    0027C403 (0017B403): TEditor.EditorStatusChange (editor - 638)
    001C88FE (000C78FE): TCustomSynEdit.DoOnStatusChange (SynEdit - 9853)
    001B87F5 (000B77F5): TCustomSynEdit.DecPaintLock (SynEdit - 1519)
    001BD68E (000BC68E): TCustomSynEdit.InternalSetCaretXY (SynEdit - 3982)
    001C9B03 (000C8B03): TCustomSynEdit.SetInternalDisplayXY (SynEdit - 10487)
    001B7D60 (000B6D60): TCustomSynEdit.ComputeCaret (SynEdit - 1170)
    001B9B50 (000B8B50): TCustomSynEdit.MouseDown (SynEdit - 2194)
    001B9A10 (000B8A10): TCustomSynEdit.MouseDown (SynEdit - 2147)
    001C1706 (000C0706): TCustomSynEdit.WndProc (SynEdit - 6000)
    0028A203 (00189203): (devcpp - 187)
    0028A221 (00189221): (devcpp - 187)
    00289C88 (00188C88): (devcpp - 114)
    00289C88 (00188C88): (devcpp - 114)

    1. What properties editor do you mean exactly? The one you can find by right clicking an editor?

      If so, can you tell me a bit more about what you did to make it crash?

  7. HI!

    I encountered a problem when using Portable x32 version AND that is
    when i save a program using class, the computer just hang but the txt file did update
    (actually im new to C++ and i just wrote 1 program including class so far)
    other programs(simple assignment, Calculating factorial) doesnt have this problem

    Sorry for my poor english
    Thanks in advance!

  8. I have at home, finishing installation just do not start.
    Editor Options from the menu.

  9. Me encanta ver que sigas con el pryecto de mejorar el compilador de C, no hay mucha gente que se esfuerce tanto como tu y eso se agradece.

    Sigue así compañero ;)

  10. It can be spread apart the files *.C / *.Cpp and *.h/ *.hpp in the project manager.

  11. Please fix this problem:
    The "new" Compiler directories are

    But many of the Librarys I downloaded with WebUpdate still install in
    And the compiler cant find the headers from the libraries (for example the header files from Allegro).

    Please make, that the Package Manager automaticly copies the files from



  12. Hey, just switched from the old Dev C++ to this one... (Dev C++ is my number one choice for small programs as it can compile/debug one file)
    I like very much the update, one thing that I miss is the old New File toolbar button that you'll just press one time and have a new file.

    1. I merged all of the New buttons on purpose, because a lot of people were commenting on it, complaing it was a bit confusing to have three 'New' buttons. Also, while creating a new text file now costs one extra click, you can still use Ctrl+N!

    2. Thanks, I forgot about CTRL+N )

  13. The middle click on source closes the file... is this normal? As far as I know the middle click should close only when clicked on tab title.

    Now its really annoying, because I have the habit to click middle click for scrolling

    1. Also some people use middle click for focusing on the back window if there is another window in the foreground

    2. Hmm, only activating the close action when the mouse is hovering above a tab makes more sense. It's more conformant with the 'standard' usage to middle mouse click too.

      Will fix this before comes out.

  14. I am having issues compiling to 32bit. I set it to 32 in the project settings but when I compile and test it on a 32bit computer it says that it isnt compatible.

    1. I'm having the same problem. I'm compiling on a 32-bit computer to 32-bit executables. Compile nad Run only compiles. When I try to run the .exe, I get the same thing.

      I think it's an issue between the interface and the compiler. When I installed the 32-bit only version with MinGW, I had no problems. So, I decided to install the 64-bit version and now nothing works, not even the original 32-bit compiler. This is the second install where I've had this problem.

      I think there must be an issue switching from the 64-bit compile. Maybe some special instructions need to be set? I'm relatively new at this, so I'm not sure. A little help?

  15. I say wrong! and you would not believe!

    above, he wrote her again.

  16. "if you open the properties editor, and then click OK, you can not dial the code."


  17. let's update on GC 4.7.1

  18. When I was having the same problem. I'm compiling on a 32-bit computer to 32-bit executables. Compile nad Run only compiles. When I try to run the .exe, I get the same thing. And this was explained well here below with examples.

    cpp hub