Hi Erik, Am 07.04.2013 um 12:25 schrieb Erik de Castro Lopo <[email protected]>: > Dagobert Michelsen wrote: >> Yes, C99 is on and according to B.2.18 from >> http://docs.oracle.com/cd/E19205-01/819-5265/bjapp/index.html >> also casual use. What does not work is the inclusion of a static function >> from extern inline. It also does work if I declare bitwriter_grow_ also >> as "inline". > > I actually think SUN/Oracle Studio is doing the wrong thing here as > GCC, Clang and MSVC all accept the code as is. > > I'm happy to see a SUN/Oracle Studio specific fix for this, but it should > not change the code for all the compilers where this currently works.
Something like this?
0001-Sun-Studio-can-not-include-static-function-from-exte.patch
Description: Binary data
I found one more issue on Solaris 10 Sparc, where TIOCGWINSZ is defined in termios.h. Fortunately there is an autoconf-idiom for that as documented in http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fHEADER_005fTIOCGWINSZ-661 The following patch adds the functionality:
0002-Use-location-of-TIOCGWINSZ-from-autoconf-manual.patch
Description: Binary data
I hope they can still get in to 1.3.0. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
_______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
