Bugzilla – Bug 14448
stlport doesn't compile under gcc/g++ 4.3
Last modified: 2008-06-16 12:38:33 UTC
Under the test grimoire gcc/g++ got upgraded to 4.3.0. After casting them I tried re-casting stlport then, and it seemed not possible: % cast -c -r stlport ... stlport 5.1.5 In file included from ../../stlport/limits.h:27, from ../../src/c_locale.c:23: /usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h In file included from ../../stlport/limits.h:27, from ../../src/c_locale.c:23: /usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h In file included from ../../stlport/limits.h:27, from ../../src/c_locale.c:23: /usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h cat: obj/gcc/so/c_locale.d: No such file or directory cat: obj/gcc/so_g/c_locale.d: No such file or directory cat: obj/gcc/so_stlg/c_locale.d: No such file or directory make: *** [depend] Error 1 ! Problem Detected ! On stlport bugs this was reported by debian guys: http://sourceforge.net/tracker/index.php?func=detail&aid=1925096&group_id=146814&atid=766244 And at the bottom there's an interesting suggestion: http://stlport.svn.sourceforge.net/viewvc/stlport/trunk/STLport/stlport/limits.h?r1=1947&r2=2546 However that suggestion only works if a new DEFINED variable exists. So then I downloaded the latest debian patch, looking for 4.3 modifications, and modified it just for those 4.3 issues, and things worked out pretty good, I could re-cast stlport. The debian patch is: http://ftp.de.debian.org/debian/pool/main/s/stlport5.1/stlport5.1_5.1.5-3.diff.gz And I'm attaching the one I created just for this 4.3 thing, without a bunch of other debian modifications.
Created attachment 6989 [details] STLport-5.1.5.patch
Fixed with commit c347618765d2ea04c05e7828a821677b999c8e74 in test. The patch is much appreciated! :)