Thread: STLport with MingW - Long Long error on project build

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446

    STLport with MingW - Long Long error on project build

    I've just built the STLport 5.0 with mingw. I used,
    Quote Originally Posted by under MSYS
    mingw32-make.exe -f gcc.mak clean
    mingw32-make.exe -f gcc.mak install
    Before, I had altered gcc.mak slightly in order to define STLP_BUILD_BOOST_PATH to point to my boost installation folder. I did no other changes to the make file.

    The build process went without any problems, other than a few warnings of the type:
    warning: 'var_name' might be used uninitialized in this function
    After STLPort finished building, I proceeded to have mingw\STLport\stlport defined as the first entry on my include list for Code::Blocks.

    I wrote a small test program... and it went bad at compile-time. I get inumerous errors of the type:
    ISO C++ does not support 'long long'
    I'm using mingw32-g++ 3.4.5 (mingw special)
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >ISO C++ does not support 'long long'
    Um, ISO C++ doesn't support the long long type. Are you compiling in strict conformance mode?
    My best code is written with the delete key.

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Hmm... That was it. Didn't remember about -pedantic. Removed. Thanks Prelude.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Inserting a swf file in a windows application
    By face_master in forum Windows Programming
    Replies: 12
    Last Post: 05-03-2009, 11:29 AM
  2. Farmer JoeBot - first project in a LONG time
    By jdinger in forum Game Programming
    Replies: 6
    Last Post: 09-16-2004, 08:57 AM
  3. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  4. Knight's Tour Recursion Problem
    By thephreak6 in forum C++ Programming
    Replies: 1
    Last Post: 10-14-2003, 09:18 AM
  5. need help
    By emperor in forum C Programming
    Replies: 1
    Last Post: 03-04-2002, 12:26 PM