List:MySQL++« Previous MessageNext Message »
From:Dan Clifford \(UMR-Student\) Purcell Date:July 20 2005 5:45pm
Subject:'long long' not supported
View as plain text  
I am getting the following compiler errors, and I was wondering if there was a way to get
around the unsupported 'long long.'
 
g++ -g -Wall -W -pedantic-errors -I/usr/local/include -I/usr/include/mysql   -c -o test.o
test.cpp
In file included from /usr/local/include/defs.h:34,
                 from /usr/local/include/query.h:47,
                 from /usr/local/include/mysql++.h:45,
                 from test.cpp:4:
/usr/include/mysql/mysql.h:111: ISO C++ does not support `long long'
In file included from /usr/local/include/query.h:47,
                 from /usr/local/include/mysql++.h:45,
                 from test.cpp:4:
/usr/local/include/defs.h:53: ISO C++ does not support `long long'
/usr/local/include/defs.h:55: ISO C++ does not support `long long'
In file included from /usr/local/include/stream2string.h:32,
                 from /usr/local/include/datetime.h:35,
                 from /usr/local/include/manip.h:47,
                 from /usr/local/include/vallist.h:31,
                 from /usr/local/include/row.h:34,
                 from /usr/local/include/result.h:38,
                 from /usr/local/include/connection.h:39,
                 from /usr/local/include/query.h:50,
                 from /usr/local/include/mysql++.h:45,
                 from test.cpp:4:
/usr/include/g++-3/sstream:260: default argument given for parameter 3
of `streampos stringbuf::seekoff (long long int, ios::seek_dir, int =
3)'
/usr/include/g++-3/sstream:83: after previous specification in
`streampos stringbuf::seekoff (long long int, ios::seek_dir, int = 3)'
/usr/include/g++-3/sstream:278: default argument given for parameter 2
of `streampos stringbuf::seekpos (long long int, int = 3)'
/usr/include/g++-3/sstream:84: after previous specification in
`streampos stringbuf::seekpos (long long int, int = 3)'
make: *** [test.o] Error 1

thank you for your consideration,
-Dan
Thread
'long long' not supportedDan Clifford \(UMR-Student\) Purcell20 Jul
  • Re: 'long long' not supportedWarren Young21 Jul
  • RE: 'long long' not supportedDan Clifford \(UMR-Student\) Purcell21 Jul
    • Re: 'long long' not supportedWarren Young22 Jul
  • RE: 'long long' not supportedDan Clifford \(UMR-Student\) Purcell22 Jul