Hi, is C++ + GCC -m32 option officially supported by FreeBSD/AMD64 7.2? I am getting the following errors for simplest input:
shell::wilx:~/tmp> cat >m32.cxx
#include <iostream>
shell::wilx:~/tmp> g++ -c m32.cxx
shell::wilx:~/tmp> g++ -m32 m32.cxx
In file included from /usr/include/c++/4.2/ext/new_allocator.h:37,
from /usr/include/c++/4.2/bits/c++allocator.h:39,
from /usr/include/c++/4.2/bits/allocator.h:53,
from /usr/include/c++/4.2/memory:54,
from /usr/include/c++/4.2/string:48,
from /usr/include/c++/4.2/bits/locale_classes.h:47,
from /usr/include/c++/4.2/bits/ios_base.h:47,
from /usr/include/c++/4.2/ios:48,
from /usr/include/c++/4.2/ostream:45,
from /usr/include/c++/4.2/iostream:45,
from m32.cxx:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
--
VH
signature.asc
Description: OpenPGP digital signature
