src/xdrv/Makefile.in in linuxwacom adds -Wno-variadic-macros to the CFLAGS. However, this option is not present in gcc-3. AFAICT, the first gcc version to include it is gcc-4.0.0 (http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Warning-Options.html#index-Wno_002dvariadic_002dmacros-289). gcc-3.4.6 certainly does not have it. On my computer, linuxwacom-0.7.8_p3 compiles fine with gcc-4.2.2 but not with gcc-3.4.6 linuxwacom-0.7.4-3 does not use that option, and compiles with gcc-3.4.6 . 0.7.8_p3 appears to build fine if you remove that option. It is, after all, only a warning. However, I don't know how to properly create a patch and add it to the ebuild. I think we should create such a patch, or at least put a dependency check in the ebuild. Reproducible: Always Steps to Reproduce:
If hardened wan't to fix it (no, dependency won't work)... noone else cares about gcc-3.4.x now.
Don't assign bugs to hardened simply cuz a pkg only compiles with gcc-4.x (We don't care) It's the maintainers job to make his/her pkg compatiable with the gcc's that gentoo supports. Hardened is far from the only one who uses gcc-3.x
I committed linuxwacom-0.7.8_p3-r1 which should take care of this. However, not having a gcc-3 system handy I cannot test. Please report back whether it works now.
I can successfully compile linuxwacom-0.7.8_p3-r1 with both gcc-3.4.6 and gcc-4.2.2
great, thanks.
(In reply to comment #3) > Please report back whether it works now. I ran into the same problem. Your version -r1 compiles without errors on my system (gcc-3.4.6). Thanks for the patch. :)