STLport with MingW - Long Long error on project build

This is a discussion on STLport with MingW - Long Long error on project build within the C++ Programming forums, part of the General Programming Boards category; I've just built the STLport 5.0 with mingw. I used, Originally Posted by under MSYS mingw32-make.exe -f gcc.mak clean mingw32-make.exe ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,467

    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)
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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,796
    >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
    Portugal
    Posts
    7,467
    Hmm... That was it. Didn't remember about -pedantic. Removed. Thanks Prelude.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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, 11:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21