Tim Rühsen <tim.rueh...@gmx.de> writes: > Hi Alex, > > yes, it is the _PC_NAME_MAX issue which is only valid for pathconf(). > > Attached is the little patch to fix it. > > Since MinGW is based on gcc-4.6, C99 should be available. > As the Wiki states (well, the entry is 3 years old...), printf() is the main > issue. But there may be some other functions that don't behave C99 compliant. > Sound not like a compiler, but a library issue. > > Maybe some functions have to be provided by Wget. If we just had a list of > issues/functions...
most of these portability problems should be fixed by gnulib. Have you checked those? I am pretty sure that gnulib provides a POSIX compliant printf replacement on platforms that lack it. -- Giuseppe