(j3.2006) COMPILER_OPTIONS and COMPILER_VERSION

Lionel, Steve steve.lionel
Fri Sep 19 11:33:40 EDT 2008


Bob Corbett wrote:

> > Are the interfaces of the function COMPILER_OPTIONS and
> COMPILER_VERSION
> described in Section 13.8.2 of CD 1539-1 generic interfaces or
specific
> interfaces?

Given that they have no arguments, I don't see how they could be
generic.

> Are the functions COMPILER_OPTIONS and COMPILER_VERSION required to
> return the same value throughout the execution of a program, or may
> they
> return different values for different parts of the program?  What
would
> that mean if different part of a program were compiled with different
> options or different compilers?

Good question, but I can't think of any reasonable interpretation other
than that they may return different values in different parts of the
program.

Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH 







More information about the J3 mailing list