bug-standards
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: common c(xx)flags for compilation?


From: Karl Berry
Subject: Re: common c(xx)flags for compilation?
Date: Tue, 17 May 2016 21:34:37 GMT

    Second, is this just for C and C++?

That was my original idea, but Ludo pointed out it could apply to all
compilers.

    I think the name COMPILERFLAGS would be confusing if it only applies
    to C and C++,

Agreed.

    few flags that are relativley standard across several compilers.

But there are many flags that are common across a given multi-language
compiler, e.g., gcj and other gcc languages as well as gcc and g++.
Between compilers (gcc vs. clang or whatever) is not a concern.

    Maybe name it CCFLAGS?

That would be even more confusing to me, since "cc" is the C compiler,
and "CC" used to be the C++ compiler.  That's why I thought of an
explicit "COMMON" in the variable name.

Anyway, the name is not the most important thing.  The most important
thing is the behavior.  Per my other mail yesterday, it's no longer
clear to me there is a good specification for it.  Either it's practical
but illogical, or logical but impractical.  Sigh.  -k




reply via email to

[Prev in Thread] Current Thread [Next in Thread]