@all
I'm too dumb to give up, so i'm testing my *skills* (lol) on another porting project, but i hit a wall (as guessed) with a pretty standard header file.
disclaimer:
i'm on cross-compiler since cmake is mandatory for the project and native cmake is hopelessly outdated and broken...so...
The file in question has
#include <cmath>
in it's header flock, but produces errors on compiling
there is also another file called "
Math.cpp" within the source files...could that be interfering?
I read
here, that it could be the cause, but i don't understand why
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath: At global scope:
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1071:11: error: 'acoshl' has not been declared in '::'
1071 | using ::acoshl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1075:11: error: 'asinhl' has not been declared in '::'
1075 | using ::asinhl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1079:11: error: 'atanhl' has not been declared in '::'
1079 | using ::atanhl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1083:11: error: 'cbrtl' has not been declared in '::'
1083 | using ::cbrtl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1087:11: error: 'copysignl' has not been declared in '::'
1087 | using ::copysignl;
| ^~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1091:11: error: 'erfl' has not been declared in '::'
1091 | using ::erfl;
| ^~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1095:11: error: 'erfcl' has not been declared in '::'
1095 | using ::erfcl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1099:11: error: 'exp2l' has not been declared in '::'
1099 | using ::exp2l;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1103:11: error: 'expm1l' has not been declared in '::'
1103 | using ::expm1l;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1107:11: error: 'fdiml' has not been declared in '::'
1107 | using ::fdiml;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1111:11: error: 'fmal' has not been declared in '::'
1111 | using ::fmal;
| ^~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1115:11: error: 'fmaxl' has not been declared in '::'
1115 | using ::fmaxl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1119:11: error: 'fminl' has not been declared in '::'
1119 | using ::fminl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1127:11: error: 'ilogbl' has not been declared in '::'
1127 | using ::ilogbl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1131:11: error: 'lgammal' has not been declared in '::'
1131 | using ::lgammal;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1136:11: error: 'llrintl' has not been declared in '::'
1136 | using ::llrintl;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1140:11: error: 'llroundl' has not been declared in '::'
1140 | using ::llroundl;
| ^~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1145:11: error: 'log1pl' has not been declared in '::'
1145 | using ::log1pl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1149:11: error: 'log2l' has not been declared in '::'
1149 | using ::log2l;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1153:11: error: 'logbl' has not been declared in '::'
1153 | using ::logbl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1157:11: error: 'lrintl' has not been declared in '::'
1157 | using ::lrintl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1161:11: error: 'lroundl' has not been declared in '::'
1161 | using ::lroundl;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1165:11: error: 'nanl' has not been declared in '::'
1165 | using ::nanl;
| ^~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1169:11: error: 'nearbyintl' has not been declared in '::'
1169 | using ::nearbyintl;
| ^~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1173:11: error: 'nextafterl' has not been declared in '::'
1173 | using ::nextafterl;
| ^~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1175:11: error: 'nexttoward' has not been declared in '::'
1175 | using ::nexttoward;
| ^~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1176:11: error: 'nexttowardf' has not been declared in '::'
1176 | using ::nexttowardf;
| ^~~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1177:11: error: 'nexttowardl' has not been declared in '::'
1177 | using ::nexttowardl;
| ^~~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1181:11: error: 'remainderl' has not been declared in '::'
1181 | using ::remainderl;
| ^~~~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1185:11: error: 'remquol' has not been declared in '::'
1185 | using ::remquol;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1189:11: error: 'rintl' has not been declared in '::'
1189 | using ::rintl;
| ^~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1193:11: error: 'roundl' has not been declared in '::'
1193 | using ::roundl;
| ^~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1197:11: error: 'scalblnl' has not been declared in '::'
1197 | using ::scalblnl;
| ^~~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1201:11: error: 'scalbnl' has not been declared in '::'
1201 | using ::scalbnl;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1205:11: error: 'tgammal' has not been declared in '::'
1205 | using ::tgammal;
| ^~~~~~~
/usr/local/amiga/ppc-amigaos/include/c++/11.3.0/cmath:1209:11: error: 'truncl' has not been declared in '::'
1209 | using ::truncl;
| ^~~~~~
any idea other than renaming that Math.cpp file?
Thank you very much