[Ace-users] [ace-users] Proposal: ACE_OS::{get,set}progname()

Johnny Willemsen jwillemsen at remedy.nl
Fri Oct 26 14:02:31 CDT 2007


> Since my original message, I remembered that using ACE_HAS_* instead
> of ACE_LACKS_* for the feature test macros would be less problematic.
> With ACE_LACKS_*, all builds would break on all systems without those
> functions until their config-*.h headers were updated. With ACE_HAS_*,
> systems that do have those functions would just use the ACE emulation
> until/unless their config-*.h headers are updated.  So I've changed
> the use of feature test macros accordingly.
> I'll add this after finishing the cooresponding autoconf changes.

Personally I find ACE_LACKS_* more easier, then people can explicitly see in
their config* file that the feature is lacking. It is more work, but makes
things more clearer for maintenance. At the moment no config* files defines
ACE_LACKS_* then it can be removed from the code. Maybe just keep it with


More information about the Ace-users mailing list