6
« on: May 18, 2014, 05:17:01 pm »
Hi,
I'm re-compiling the lib and dll with bcc32 (Borland/embarcadero C++ Builder compiler). When building GLCheck.cpp I get a number of errors regarding multiple declarations.
bcc32 command line for "..\src\SFML\Graphics\GLCheck.cpp"
..\src\SFML\Graphics\GLCheck.cpp
[bcc32 Error] _stddef.h(178): Multiple declaration for 'ptrdiff_t'
[bcc32 Error] glew.h(156): Earlier declaration of 'ptrdiff_t'
[bcc32 Error] iosfwd(385): Multiple declaration for 'char_traits<wchar_t>::int_type'
[bcc32 Error] iosfwd(136): Earlier declaration of 'char_traits<wchar_t>::int_type'
[bcc32 Error] iosfwd(391): Multiple declaration for 'char_traits<wchar_t>::assign(wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(141): Earlier declaration of 'char_traits<wchar_t>::assign(wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(396): Multiple declaration for 'char_traits<wchar_t>::eq(const wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(146): Earlier declaration of 'char_traits<wchar_t>::eq(const wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(401): Multiple declaration for 'char_traits<wchar_t>::lt(const wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(151): Earlier declaration of 'char_traits<wchar_t>::lt(const wchar_t &,const wchar_t &)'
[bcc32 Error] iosfwd(407): Multiple declaration for 'char_traits<wchar_t>::compare(const wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(156): Earlier declaration of 'char_traits<wchar_t>::compare(const wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(414): Multiple declaration for 'char_traits<wchar_t>::length(const wchar_t *)'
[bcc32 Error] iosfwd(167): Earlier declaration of 'char_traits<wchar_t>::length(const wchar_t *)'
[bcc32 Error] iosfwd(421): Multiple declaration for 'char_traits<wchar_t>::copy(wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(176): Earlier declaration of 'char_traits<wchar_t>::copy(wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(429): Multiple declaration for 'char_traits<wchar_t>::find(const wchar_t *,unsigned int,const wchar_t &)'
[bcc32 Error] iosfwd(187): Earlier declaration of 'char_traits<wchar_t>::find(const wchar_t *,unsigned int,const wchar_t &)'
[bcc32 Error] iosfwd(436): Multiple declaration for 'char_traits<wchar_t>::move(wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(197): Earlier declaration of 'char_traits<wchar_t>::move(wchar_t *,const wchar_t *,unsigned int)'
[bcc32 Error] iosfwd(443): Multiple declaration for 'char_traits<wchar_t>::assign(wchar_t *,unsigned int,wchar_t)'
[bcc32 Error] iosfwd(212): Earlier declaration of 'char_traits<wchar_t>::assign(wchar_t *,unsigned int,wchar_t)'
[bcc32 Error] iosfwd(454): Multiple declaration for 'char_traits<wchar_t>::to_int_type(const wchar_t &)'
[bcc32 Error] iosfwd(227): Earlier declaration of 'char_traits<wchar_t>::to_int_type(const wchar_t &)'
[bcc32 Error] iosfwd(465): Multiple declaration for 'char_traits<wchar_t>::eof()'
[bcc32 Error] iosfwd(238): Earlier declaration of 'char_traits<wchar_t>::eof()'
[bcc32 Error] iosfwd(486): Multiple declaration for 'char_traits<char>::assign(char &,const char &)'
[bcc32 Error] iosfwd(141): Earlier declaration of 'char_traits<char>::assign(char &,const char &)'
[bcc32 Error] iosfwd(491): Multiple declaration for 'char_traits<char>::eq(const char &,const char &)'
[bcc32 Error] iosfwd(146): Earlier declaration of 'char_traits<char>::eq(const char &,const char &)'
[bcc32 Error] iosfwd(496): Multiple declaration for 'char_traits<char>::lt(const char &,const char &)'
[bcc32 Error] iosfwd(151): Earlier declaration of 'char_traits<char>::lt(const char &,const char &)'
[bcc32 Error] iosfwd(502): Multiple declaration for 'char_traits<char>::compare(const char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(156): Earlier declaration of 'char_traits<char>::compare(const char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(509): Multiple declaration for 'char_traits<char>::length(const char *)'
[bcc32 Error] iosfwd(167): Earlier declaration of 'char_traits<char>::length(const char *)'
[bcc32 Error] iosfwd(516): Multiple declaration for 'char_traits<char>::copy(char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(176): Earlier declaration of 'char_traits<char>::copy(char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(524): Multiple declaration for 'char_traits<char>::find(const char *,unsigned int,const char &)'
[bcc32 Error] iosfwd(187): Earlier declaration of 'char_traits<char>::find(const char *,unsigned int,const char &)'
[bcc32 Error] iosfwd(531): Multiple declaration for 'char_traits<char>::move(char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(197): Earlier declaration of 'char_traits<char>::move(char *,const char *,unsigned int)'
[bcc32 Error] iosfwd(538): Multiple declaration for 'char_traits<char>::assign(char *,unsigned int,char)'
[bcc32 Error] iosfwd(212): Earlier declaration of 'char_traits<char>::assign(char *,unsigned int,char)'
[bcc32 Error] iosfwd(549): Multiple declaration for 'char_traits<char>::to_int_type(const char &)'
[bcc32 Error] iosfwd(227): Earlier declaration of 'char_traits<char>::to_int_type(const char &)'
[bcc32 Error] iosfwd(560): Multiple declaration for 'char_traits<char>::eof()'
[bcc32 Error] iosfwd(238): Earlier declaration of 'char_traits<char>::eof()'
[bcc32 Error] xutility(346): Dependent type qualifier 'bool' is not a class or struct type
[bcc32 Error] xutility(347): Dependent type qualifier 'bool' is not a class or struct type
[bcc32 Error] xutility(347): Too many error or warning messages
Failed
Elapsed time: 00:00:00.4