Brian Cameron wrote:

> Since the libcdio library uses flexible arrays which are not yet
> supported with Forte, this module will need to be built with the GCC
> compiler in /usr/sfw.  I believe it would be a lot of work to
> refactor the libcdio code to not use flexible arrays.  

What 'Forte' version are you using? Flexible arrays are a C99 feature. 
Recent SunStudio (at least SS9, some features before that) have C99 
support, if you use the -xc99 compiler flag.

> Also, I
> hacked this library to *not* build the C++ stubs that it normally
> includes.  These are provided so C++ programs can link against
> libcdio directly if desired, but we can't ship them if we build this
> with the GCC compiler since it would break ABI.  Not shipping the C++
> stubs doesn't break anything for GStreamer or sound-juicer, fyi.
> 

AFAIK the C++ compiler does not support any of the C99 features, so 
flexible arrays in a C++ source files wouldn't work in SunStudio.


- J?rg

-- 
Joerg Barfurth           phone: +49 40 23646662 / x66662
Software Engineer        mailto:joerg.barfurth at sun.com
Desktop Technology       http://reserv.ireland/twiki/bin/view/Argus/
Thin Client Software     http://www.sun.com/software/sunray/
Sun Microsystems GmbH    http://www.sun.com/software/javadesktopsystem/



Reply via email to