You have four options:
- Add the flag -fgnu89-inline to CC and reconfigure, or
- Fix your include files, using parts of
, or
- Use a gcc version older than 4.3, or
- Don't use the flags -std=c99 or -std=gnu99.
- NevemTeve blogja
- A hozzászóláshoz be kell jelentkezni
Hozzászólások
IBM tudósai elhelyeztek egy ilyen részt a wchar.h -ba:
static long double wcstold(const wchar_t * __restrict__ __a, wchar_t ** __restrict__ __b) {
return ((long double)wcstod (__a, __b));
}
A configure
jeles fejlesztői pedig egy ilyen tesztet futtatnak:
#define wcstod renamed_wcstod
#include <wchar.h>
int main (void) {}
Az eredmény:
ld: 0711-317 ERROR: Undefined symbol: .renamed_wcstod
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
configure:7003: result: no
- A hozzászóláshoz be kell jelentkezni
grerp -p... De hiányzik...
- A hozzászóláshoz be kell jelentkezni
Viszont nincs -A és -B opció az AIX-os grep-ben... Valahogy össze kellene vonni a kettőt;)
- A hozzászóláshoz be kell jelentkezni
Végül ennyi kellett csak:
export gl_cv_header_wchar_h_correct_inline=yes
Hatása:
checking whether uses 'inline' correctly... (cached) yes
- A hozzászóláshoz be kell jelentkezni
Ezt most újrafelhasználta a texinfo-6.7
Még jó, hogy van ez a hup blog.
- A hozzászóláshoz be kell jelentkezni