Ian Collins wrote: > >Does anyone know whether it is possible to use C99 features in a shared > >library which is used by older applications ? > > > >For example would it be possible to use C99 features such as |int > >getrpcbynumber(int arg1, /* ... */) { char buff[arg1]; /* ... */ }| in a > >library such as libnsl (without breaking backwards-compatibillity) ? > > > It shouldn't matter as long as you don't add any C99 features to a > public interface.
Erm... just to get a clarification: I can use C99 features in the library code itself without running into trouble (the example above uses |getrpcbynumber()| which is a "public" interface... > You could even use C++, provided no one knows :) That will likely require the C++ runtime (libCrun) ... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org