while trying to emerge htmlrecode I ran into the following problem g++ -ffast-math -O -Wall -W -pedantic -Wundef -Wcast-qual -Wpointer-arith -Wstrict-prototypes - Wconversion -Wmissing-prototypes -Wwrite-strings -Wsign-compare -Wredundant-decls -fno- default-inline -DVERSION=\"1.2.0\" -pipe -g -Iargh -c -o htmlrecode.o htmlrecode.cc cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ htmlrecode.cc: In member function 'bool Page::Dumper::isok(ucs4) const': htmlrecode.cc:150: error: invalid conversion from 'char**' to 'const char**' htmlrecode.cc:150: error: invalid conversion from 'unsigned int*' to 'size_t*' htmlrecode.cc:150: error: invalid conversion from 'unsigned int*' to 'size_t*' htmlrecode.cc: In member function 'void Page::Dumper::puts(const std::wstring&) const': htmlrecode.cc:530: error: invalid conversion from 'char**' to 'const char**' htmlrecode.cc:530: error: invalid conversion from 'unsigned int*' to 'size_t*' htmlrecode.cc: In function 'void ParseInConv(FILE*, const char*, int)': htmlrecode.cc:870: error: invalid conversion from 'char**' to 'const char**' htmlrecode.cc: At global scope: htmlrecode.cc:155: warning: 'const std::wstring makewstr(const char*)' defined but not used make: *** [htmlrecode.o] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) =============================================================== == System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc aalib emboss gdbm gif imagemagick libwww nls ogg opengl png ppc-macos qt sdl slang tiff vorbis userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
these look more like gcc4 errors, not going to fix it.