[mercury-users] Conditional compilation
Michael Day
mikeday at bigpond.net.au
Tue Feb 5 18:21:11 AEDT 2002
> You could have a module with various compilation flags set as simple
> predicates:
...
> The optionX predicates should be inlined and the if-thens optimized
> away.
True, but it would still require actually compiling the code that doesn't
get called, which may not be possible on a particular platform if
libraries/header files are not installed.
Michael
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list