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. > Would the other patch about MIN and MAX substitution acceptable or should I > add a patch with a autoconf-detection? That should be fixed in commit 2de567fb11ce3bbb711d993922d69af6d2cf817f. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev