compile fails due to undefined constants referenced in 'ladccad/main.c'. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 19112 [details] new ebuild which patches the src prior to configure/make/etc
Created attachment 19113 [details] ebuild digest
Created attachment 19114 [details, diff] patch to fix undefined constant references in 'ladccad/main.c'
is this a gcc3 bug ?
Perhaps not gcc3 bug, but gcc3-related bug. Anyway, including limits.h hever hurt anyone. The patch works great, maybe it deserves to go official?
I have no idea if it is a gcc bug. Possibly. I'd like to say there would be no ill effects from including this here but I can only speak for my current combination of gcc and glibc. gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice) (GNU libc) 2.3.2 (Gentoo Linux 1.4 2.3.2-r1) Does this compile on earlier versions of gcc and glibc? The glibc '/usr/src/limits.h' has to be explicitly included on my system to use any of these constants (ie. LONG_MAX). Its definitely some change in either or both gcc and glibc. Was there some intended change to enforce this behaviour? I don't know.
Spoke the developer last night. He has released a 0.3.2 that includes the patch. I'll try to find time to get into portage tonight (Japan time).
0.3.2 is now in portage. Have fun :/