Quote:
Originally Posted by alkis
With what version of gcc does that compile?
Which version of gcc are you using to compile?
|
*bummer* at the moment I cannot even remember, which source code it is.
But i'll have a look
#1) it's
IVAN - error occures with gcc 3.4.0 (AmiDevCPP).
I try with another gcc
#2) gcc 6.3.1 is even worse, has problems with it's own include files:
Code:
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/6.3.1b/include/c++/cstdio:176:11: error: ‘::vfscanf’ has not been declared
using ::vfscanf;
^~~~~~~
/opt/m68k-amigaos/lib/gcc/m68k-amigaos/6.3.1b/include/c++/bits/basic_string.h:5472:20: error: no matching function for call to ‘__to_xstring(int (*)(char*, size_t, const char*, char*), long unsigned int, const char [3], int&)’
"%d", __val); }
dozens lines below it says:
Code:
../../FeLib/Include/fearray.h: At global scope:
../../FeLib/Include/fearray.h:37:8: error: ‘fearray<type>::fearray’ names the constructor, not the type
inline fearray<type>::fearray<type>(const fearray<type>& A)
^~~~~~~~~~~~~
../../FeLib/Include/fearray.h:37:8: error: and ‘fearray<type>’ has no template constructors
../../FeLib/Include/fearray.h:45:8: error: ‘fearray<type>::fearray’ names the constructor, not the type
inline fearray<type>::fearray<type>(const type* Array, sizetype Size)
^~~~~~~~~~~~~
../../FeLib/Include/fearray.h:45:8: error: and ‘fearray<type>’ has no template constructors