Saturday, May 25, 2013

Dev-C++ 5.4.2, 5.4.3 RC8 released

A newer version is available!

Time for more fixes for the 5.4 series. The main additions include the ability to delete the current line (Ctrl+D by default), the ability to select the current line by triple clicking, and support for silent installation (since the 2013-05-26 repack).

Changes - Version 5.4.2 - 25 May 2013
  • Shortcuts are now saved independently from the current language.
  • As of RC3, Dev-C++ will now play nicely with old settings files instead of showing a 0px high window.
  • Fixed compiler default selection not being saved on first startup.
  • Dev-C++ will now suggest to disable DEP instead of crash when trying to execute data.
  • The compiler set validator will now not add any duplicate paths anymore.
  • After saving as, the window caption will now update too.
  • Fixed a few out of bounds errors.
  • Fixed a rather common bug in the MRU list ("Invalid Pointer Operation").
  • Compiler Options now does not permanently change directories before hitting OK.
  • Fixed a crash in the parser, which didn't like "#include" without any followup.
  • Fixed a whole lot of other bugs.
  • Fixed random focus tabbing order in various windows.
  • Default code insertion snippets are now only loaded on first startup.
  • One can now hide the code tooltip for the current function using the Esc key.
  • Dev-C++ will now remember the window state on startup again.
  • Fixed an error in the project HTML exporter.
  • Dev-C++ now remembers tab history.
  • One can now delete the current line using Ctrl+D.
  • Implemented line selecting functionality using triple click.
  • Updated Chinese (traditional) translations (by TOCK Chiu, alias cin.getline).

Download
  • The setup which includes MinGW32 4.7.2 can be downloaded here (25MB).
  • The setup which includes TDM-GCC x64 4.7.1 can be downloaded here (44MB).
  • The setup which does not include a compiler can be downloaded here (2MB).
  • The portable version which includes MinGW32 4.7.2 can be downloaded here (17MB).
  • The portable version which includes TDM-GCC x64 4.7.1 can be downloaded here (32MB).
  • 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.



Release Candidate 8 of the next version

The 5.4.3 RC8 update can be found here. Its source code can be found here.

Changes - Version 5.4.3 RC8 - 5 Oktober 2013
  • Dev-C++ can now parse C++ header files too.
  • Clicking in the gutter does not change the caret position anymore.
  • Mouseover hints are now also shown when hovering above #includes.
  • Fixed editor closing not always remembering the previous tab.
  • The matching brace highlighter now ignores text highlighted as 'Character'.
  • Custom compiler commands are now added to the end of the call to GCC.
  • The function tooltip now shows which class each function belongs to.
  • The compilation progress window has been moved/merged into Compile Log below.
  • The MRU list now does not reverse order each time it is loaded.
  • File Properties now does not add open files not belonging to the current project to project stats.
  • Editor mouseover tooltips now also shows which class each function belongs to.
  • The function tooltip now shows types again.
  • The MRU list now separates files and project files with a line.
  • Breakpoints are now moved when folding code.
  • Triple clicks now don't happen anymore when the mouse moves between clicks.
  • Updated Catalan translation.
  • The console pauser now does not show a "loading" cursor anymore.
  • Updated Japanese translation.
  • Added a toggle comment function (listens to Ctrl+/ by default).
  • Added the PlasticCodeWrap color style.
  • Cleaned up Project Options >> Compiler.
  • Changed the default font to Consolas.
  • Upgraded the parser: it now supports function pointer arguments and is a lot faster.
  • And much more.



Choosing between 32bit and 64bit
  • The 64bit compiler will fully work op 32bit computers.
  • The 64bit compiler can do everything the 32bit compiler can, including creating 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.
Note on the portable version
  • Always launch Dev-C++ using devcppPortable.exe located in the installation folder of the portable version. This launcher will tell Dev-C++ to save its configuration files in its own folder.

84 comments:

  1. Thank you for the new version :)

    ReplyDelete
  2. Thank you for your hard work.

    ReplyDelete
  3. Just thank you for your work!!!

    ReplyDelete
  4. When are you planning to release a new version of 5.4.3 or 5.5.0

    ReplyDelete
    Replies
    1. This version is out for 5 days oO

      Delete
    2. This comment has been removed by the author.

      Delete
  5. Thanx for updating Dev-C++...

    I recently downloaded and installed Dev-C++ 5.4.2 TDM-GCC x64 4.7.1 - specifically to be able to enable std=c++0x,
    but I keep getting " unrecognized command line option "-std=c++11" ".
    I've also tried gnuc++11 and I've tried manually adding the -std=c++0x option instead of using the option in Code Generation all with the same result.

    ReplyDelete
    Replies
    1. All provided compilers support C++0x/C++11. Are you sure you're using the provided compiler and not an older one? You can check at Tools >> Compilers Options >> Directories which one you're using.

      Delete
    2. Ah. Thanx!
      For some reason it was pointing to my old Dev-C++ 4.9.9.2 installation.

      Delete
  6. I love orwell dev c++.
    I want to use the fumction of the pdcurses, but it's can't work.
    I downloaded the pak from devpaks.org and installed.
    I also add "-lcurses" on "Add these commands to the linker command line", but it didn't work.
    However I can compile in dev c++ 4.9.9.2. BUT!!!! I LOVE orwell much than 4.9.9.2.
    PLZ teach me how to solve this problem. I want to use orwell dev c++ =( .
    PS.I am an Asian, so my English is not good. If you confuse what i said, I say sorry to you =( .

    ReplyDelete
  7. It took a long time, and the new version does not have an urgent need to release a new version!

    ReplyDelete
  8. Could you please tell me if there is a function for duplicating a line?

    Other editors I use duplicate the current line when I use the Ctrl+D shortcut (I disabled the delete function, because I always type the shurtcut intuitively).

    If it is not there, please consider adding it. Thank you.

    ReplyDelete
  9. Hi there,
    after deleting a project and it's files manually,
    dev-cpp came up next time "unable to find file %s"
    (since it had been deleted). After that it's impossible
    to create new projects / files, as these options are
    greyed out or are gone alltogether :-/
    thx for any help

    ReplyDelete
    Replies
    1. OK...seems just a problem of Windows 64bit. Could not reproduce
      that behaviour under Windows 32bit on three other machines.

      Delete
  10. To create your programing assignments and learn programing just visit this website. http://clanguageprogrames.blogspot.com/

    ReplyDelete
  11. how can i set dev so i can use function strcpy and strncpy? Please help

    ReplyDelete
    Replies
    1. #include <string.h> for C code, or #include <cstring> for C++. Though this is not the place for programming help, just for comments about the IDE (just saying).

      Delete
  12. I have just installed Dev-C++ 5.4.2 on Windows Vista running on 64bit machine. I get the error

    Building Makefile "C:\Users\Nelson\Documents\Dev-C++\HW01\Makefile.win"
    Executing make...
    mingw32-make.exe -f "C:\Users\Nelson\Documents\Dev-C++\HW01\Makefile.win" all
    g++.exe -D__DEBUG__ -c stock1.cpp -o stock1.o -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -ansi -pedantic -Wall -g3

    g++.exe: error: CreateProcess: No such file or directory

    mingw32-make.exe: *** [stock1.o] Error 1

    Execution terminated

    How do I fix it. the path to g++.exe is set correctly

    ReplyDelete
  13. Hello, im using this just for fun, but this doesnt work either.

    This is major glitch and top-bottom line, period. :D

    1. DLL Project C, works fine.

    The same code, but for project:

    2. DLL Project C++, misfires DLLMain always, it is not called upon a loadtime.
    Even swapping DllMain with DllEntryPoint, no difference.

    If there is no difference, so, well then, what's the point of all this, if it doesnt work. :D

    --- CODE ---

    #include
    #include
    #include


    BOOL APIENTRY DllMain (
    HINSTANCE hInst,
    DWORD reason,
    LPVOID reserved)
    {

    if(reason==DLL_PROCESS_ATTACH)
    MessageBox(0,"DLL_PROCESS_ATTACH","DllMain:",0);

    return TRUE;
    }

    ----------------------------------------------------------------------
    WORKS on "C DLL Project" (dllmain.c).
    DOESNT WORKS on "C++ DLL Project" (dllmain.cpp).

    --- LOADER -----------------------------------------------------------
    Loaded with C++ Win32 App Project: "HINSTANCE h = LoadLibrary("MyLib.dll");"
    1. C Dll loads fine.
    2. C++ Dll misfires.

    ReplyDelete
  14. Blogspot, glitch.

    My previous post, includes were rendered blind.

    So, those #INCLUDE's, are windows.h, stdio.h, stdlib.h, if it matters. :)

    ReplyDelete
  15. Hello! Its me, again! :D

    Report: Language standart C11

    @Path:

    [Project Options]->[Compiler]->[Code Generation]->[Language standart]

    Combobox:

    Missing option for -std=c11.
    Of course, it can be added manualy at C compiler parameters manualy.

    ReplyDelete
  16. Does it's support Code Completion ?

    ReplyDelete
  17. Hello! Its me, again! :D

    DLL Project C++ DLLMain glitch.

    Hey, this match description:

    LoadLibraryEx => dwFlags => DONT_RESOLVE_DLL_REFERENCES

    "If this value is given, and the executable module is a dynamic-link library (DLL), the operating system does not call the DllEntryPoint function for process and thread initialization and termination"

    Maybe there is some internal interception happening,
    maybe, the call of LoadLibrary, calls LoadLibraryEx, with dwFlags DONT_RESOLVE_DLL_REFERENCES.

    ReplyDelete
  18. I used OpenGL in version 4.9.9.2. Where do the opengl headers, libraries and .dll's go now? The file structure doesn't seem to be the same as in MinGW. I'm a bit confused. Best wishes. Keep up the good work.

    ReplyDelete
  19. Hi Orwell,

    it seems that the system alternates the list of recently opened files. Every other time I get what looks like the actual list of recently opened files and the times in beetween I get some other list, consistent though, but with no resemblance to what I did recently.

    ReplyDelete
  20. Orwell,

    Thank you for your big work! You awesome! =)

    ReplyDelete
  21. Thank you very much! :)

    ReplyDelete
  22. Hi,it's been two months,any plan or news about next release?

    ReplyDelete
  23. Hey, thanks for update dev cpp... Keep up with the good work.

    ReplyDelete
  24. I Love dev c++ :D THANK YOU FOR THE UPDATE :D

    ReplyDelete
  25. Go to see from the comments that Orwell's Dev C++ seems to be gaining rapidly in popularity. We here at Digital Fruit used Bloodshed Dev C++ for years, and were sorry to see it go. We even considered picking it up and reviving it ourselves, but never could fit it in the time frame. We just recently learned of your new official Dev C++ and we hope to start using it for our development. We try and use as much open-source in our pipeline as we can.

    ReplyDelete
  26. Does the built-in UPDATER work ? It informs me of NO connection.

    ReplyDelete
  27. I'm new to C++ and have been searching for good online free tutorial. Though I have managed to learn the OOPs concepts I want to go deep in the language and become a computer programmer.

    ReplyDelete
  28. how install conio2.h in version 5.4.2 ?

    ReplyDelete
  29. Is this ever going to work for Mac? I freaking loved this on my Windows computer before I had to replace the computer. Can anyone from Orwell tell me if there is a way to get this for Mac?

    ReplyDelete
  30. Hey I'm new to this tool. So, how to use the code insertion templates?

    ReplyDelete
    Replies
    1. Setup it - "Tools - Editor options - Code insertion". Then use it - "Edit - Insert" (or button "Insert" in main menu).

      Delete
  31. I really like Dev-C++ however I would like to know if there is a version for Linux that I can use? Thanks in advance.

    ReplyDelete
  32. Replies
    1. Changes - Version 5.4.3 RC1 - 24 Augustus 2013

      Delete
  33. Looking forward to the new release!
    I love Orewell Dev-C++ so much!

    ReplyDelete
  34. I updated the Japanese translation file for 5.4.2
    It can be downloaded from here.(at least for 90 days)
    http://freakshare.com/files/0ue02qlv/Japanese_dc542.zip.html

    ReplyDelete
    Replies
    1. That is a truly shit file sharing site. Luckily the counter keeps going when switching tabs.

      And thank you for your effort. I'll add it to 5.4.3.

      Delete
  35. Thank you for new DevC++ !

    i will report you if i find some bugs :D

    ReplyDelete
  36. Edit the source code of the new page, which is inserted by default, does not work! RC3

    ReplyDelete
    Replies
    1. Cannot reproduce. Can you send me your settings files (excluding cache.ccc)?

      Delete
    2. He currently works can was full of a failure somewhere.

      Delete
  37. Does not work hotkeys RC3

    ReplyDelete
    Replies
    1. Can you send me your shortcuts.ini file?

      Delete
    2. I open the hot-key setup, and I can not change them!

      Delete
  38. great program, glad to see continued development. the webupdate tool doesn't seam to work anymore, even though devpacks.org appears to be up

    ReplyDelete
  39. Please make a selection in addition to __int64 and __int128.

    ReplyDelete
  40. shortcuts.ini:
    [Shortcuts]
    File:Source File=62168
    File:Project...=55160
    File:Resource File=55208
    File:Template...=55232
    File:Class...=55304
    File:Open project or file...=61904
    File:Save=8896
    File:Save As=8056
    File:Save project as...=7936
    File:Save All=8776
    File:Close=7096
    File:Close All=6712
    File:Close Project=7384
    File:Properties=6640
    File:MS Visual C++ project=6160
    File:Code::Blocks project=6088
    File:to HTML=6040
    File:to RTF=5848
    File:to Tex=5680
    File:Project to HTML=5368
    File:Print=5896
    File:Printer Setup...=4840

    ReplyDelete
    Replies
    1. That's what it should look like. Have you tried reverting to defaults by clicking Tools >> Configure Shortcuts >> Defaults?

      Delete
    2. The default settings work.
      But how to set up other combinations?
      Worked before, now - no.

      Delete
  41. What about devpack-s and adding external libraries?

    ReplyDelete
  42. http://tdm-gcc.tdragon.net/download

    ReplyDelete
  43. Error info
    ----------
    Version : 5.4.3 RC5
    Build Time : Октябрь 1 2013 - 01:36
    Message : Access violation at address 0020C009 in module 'devcpp.exe'. Read of address 0000404E
    Address : 0x0020C009


    Machine info
    ------------
    Platform : Windows NT
    OS version : 6.1 (build 7601)
    Service Pack : Service Pack 1
    Computer Name : SFINEXER1


    Stack trace
    -----------
    0020FA4A (0010EA4A): TExceptionFrm.GetStackReport (ExceptionFrm - 392)
    0020EDCE (0010DDCE): TEAnalyzer.EHandler (ExceptionFrm - 139)
    0020EEBC (0010DEBC): TEAnalyzer.EHandler (ExceptionFrm - 148)
    0020EEBC (0010DEBC): TEAnalyzer.EHandler (ExceptionFrm - 148)
    0020EE10 (0010DE10): TEAnalyzer.EHandler (ExceptionFrm - 146)
    0020EE3A (0010DE3A): TEAnalyzer.EHandler (ExceptionFrm - 146)
    0020C009 (0010B009): TfrmShortcutsEditor.btnDefaultClick (devShortcutsEditorForm - 211)
    0020C009 (0010B009): TfrmShortcutsEditor.btnDefaultClick (devShortcutsEditorForm - 211)
    0020C006 (0010B006): TfrmShortcutsEditor.btnDefaultClick (devShortcutsEditorForm - 211)
    001B001A (000AF01A): TSynGutter.Create (SynEditMiscClasses - 500)
    0020C7D0 (0010B7D0): TdevShortcuts.Edit (devShortcuts - 227)
    0020C7F4 (0010B7F4): TdevShortcuts.Edit (devShortcuts - 230)
    0020C816 (0010B816): TdevShortcuts.Edit (devShortcuts - 230)
    00248079 (00147079): TMainForm.actConfigdevShortcutsExecute (main - 4107)
    00248094 (00147094): TMainForm.actConfigdevShortcutsExecute (main - 4107)

    ReplyDelete
    Replies
    1. Yep, that's the bug report I anonymously received. :P

      Anyway, I've been looking at this one since you reported problems with the shortcuts, but can't find any problems yet. :(

      Delete
    2. you can not change the keyboard shortcuts!

      Delete
    3. Yep, found a problem finally. Time to fix it.

      Delete
    4. Fixed. Thanks for reporting.

      Delete
  44. planned porting Dev-cpp new versions of Delphi 2010 for example?

    ReplyDelete
  45. Where RC6
    And there are A lot of inaccuracies with that that in Russia the text (it it is long) longer than some the TEdit field. And about 15 places where it doesn't hold.

    ReplyDelete
  46. RC6
    default keys stopped working!

    ReplyDelete
    Replies
    1. "По умолчанию" long than Default
      Button malentky.

      Delete
    2. Fixed in 5.4.3 final (not RC7).

      Delete
  47. Is there some documentation on the ".template" format used, and the devpak format. I would like to create a devpak with template, but am not sure on the options available/expected, such as project type, compiler options, directories etc. ??
    should the original bin include lib .. dir's be used for max compatibility, or the new mingw32/bin etc. directories. It makes it more complex when libraries may just support 32bit or one compiler path (unless files are duplicated for each compiler) ??.
    thanks.

    ReplyDelete
  48. I don't know what's wrong with DevDcpp 5.4.3 RC6 but
    when I only try to open my project
    it opens, shows the files, but then hung up (like its in a infinite loop of something, or whatever).

    It doesn't happen with 5.4.3 RC3,
    the others (RC4-RC6) gives me errors or hang up.

    (Sorry for my bad English.)

    ReplyDelete
    Replies
    1. Sorry to repost.
      I tried again with RC6,
      disabling the "Enable code completion" option, works, I can open the project.
      Enabling it, hungs up like I said before.

      Something's wrong with that.

      Delete
    2. Ye, I gave the parser a huge amount of maintenance and upgrades in RC4 (it now offers completion for C++ and STL includes too), but I might have messed up somewhere.

      Can you send me your project (or part of it that causes problems)? Alternatively, can you see which file it is parsing when it hangs (check the status bar)?

      Delete
    3. Alright, one occasion the parser fails at in RC6 (but not in RC7) is when one uses inline statements containing < or > inside template declarations. For example, this piece of code in the ratio header:
      http://wilcobrouwer.nl/bestanden/pic34709340340934.png

      Instead of crash, RC7 will attempt to skip over the statement and continue after it.

      Delete
  49. Tools >> Configure Shortcuts >> Defaults
    RC6-RC7 does not work

    ReplyDelete
    Replies
    1. http://orwelldevcpp.blogspot.com/2013/05/dev-c-542-released.html?showComment=1380900657097#c1926740021924943948

      Delete
    2. the message is about the length of the button and not the fact that it does not work.

      Delete
    3. I've made the button 85px wide now (as wide as every other OK/Cancel/Apply button) instead of 75px.

      Delete
    4. RC6-RC7 button is not pressed.

      Delete
    5. That's what I was talking about. ;)

      And it's fixed.

      Delete
  50. 1.000.000 downloads yeah

    ReplyDelete
  51. RC8: It works!

    When closing the program!
    http://rghost.ru/49185409/image.png

    ReplyDelete
  52. How can I hide the code-folding gutter-column ?

    ReplyDelete
    Replies
    1. Currently, you can't.

      As a side note, please update to 5.5.3.

      Delete
    2. Thx so much for the lightning fast response.
      Would it be hard to implement in devcpp an application skin like intelliJ idea darcula ?

      Delete