Menu

Lcc-win32 vs. DEV-C++

2003-02-06
2012-09-26
  • Nobody/Anonymous

    I had been programming with the Lcc-win32 IDE and after trying DEV-C++ like it's IDE better.

    I went back to test some programs that I written with Lcc on the DEV-C++ 4.0 and also tried the 5 beta.

    Some programs now will not compile on the DEV-C++.

    The DEV-C++ compiler does not like this these lines, but I have not change the code and have all the correct library's linked.

    void tgaPutPacketTuples ( image_t *p, unsigned char *temp_colour, int &current_byte ) // parse error before '&'
    {
       if ( p->info.components == 3 ) // 'p' undeclared (first use in this function)

     
    • Nobody/Anonymous

      Dev uses the minGW32 a gcc compiler suite: Best  one you will find for free.
      However, this compiler has undergone changes, to make it the most c++/ c  standard.
      Now Dev 4 is great, but if you downloaded the whole package ( ide + compiler ) you have a early version of minGW32. Think about un-installing that 4, and get 4970.
      read here about problems with the install of the 4970, i did it a way that works. Get the 4970 .exe only, install that, next get the minGW32. from the website and install that. If you need help on settings call back here.

      The Lcc-win32 is only a c compiler, just one of the compilers you get in the minGW32 suite. How up to date is the c compiler you get with Lcc-win32 ?.

       
    • Nobody/Anonymous

      Actually, I have found that my stand alone copy of MingW seems to cover for a lot of the install problems, without having to wire Dev to it.  (I never saw the bits directory issue for example, until I deleted my mingw)

      In case you are wondering, I am running MingW/MSYS as a tool unrelated to Dev...

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.