This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hierarchical projects with configure scripts


>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

>   Another possibility that may be simpler for GDB, is to change its
>   configure.ac files to require C99 or later everywhere. At this point
>   it's more trouble than it's worth to tweak source code or makefiles to
>   cater to compilers operating in C89 mode. Just tell your C compiler to
>   support C99-or-better everywhere, and your life will surely be
>   simpler.

Sergio> I don't know if just requiring C99 or later would be enough to solve
Sergio> this problem, but it's something to consider for GDB, I think.

I personally think it would be fine -- C99 is nearly 20 years old now,
surely we can afford to upgrade -- but I think this would have to be run
by the binutils list as well.

Also there's the question of how it would be implemented.  Like, if it
relied on modifying CFLAGS, then that would still interfere how this is
supposed to be a user-controlled variable.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]