mirror of https://github.com/aria2/aria2
![]() If we put #include <gettext.h> outside of #ifdef ENABLE_NLS and --disable-nls is used, gettext(msgid) is defined as ((const char *) (Msgid)). System header includes libintl.h regardless of --disable-nls. For example, #include <string> will include libintl.h through include chain. Since libintl.h refers gettext and it is defined as non-function form, this causes compile error. User reported gcc-4.2.2 has this problem. But gcc-4.4.5 does not suffer from this problem. |
||
---|---|---|
doc | ||
lib | ||
m4 | ||
po | ||
src | ||
test | ||
AUTHORS | ||
COPYING | ||
ChangeLog | ||
ChangeLog.old | ||
LICENSE.OpenSSL | ||
Makefile.am | ||
NEWS | ||
README | ||
README.asciidoc | ||
build_test.sh | ||
configure.ac |
README
See README.asciidoc