On Thu, 1 Dec 2011, Steven Bosscher wrote:
> On Thu, Dec 1, 2011 at 7:42 PM, Joseph S. Myers
> wrote:
> > On Thu, 1 Dec 2011, Steven Bosscher wrote:
> >
> >> Is it valid in dialects older than C99 to declare a function static
> >> inline after calling it? Should the warnings be brought back in t
> Today I ran into a problem building today's GCC trunk with an older
> GCC 4.3. There is a warning in libcpp/macro.c about
> tokens_buff_remove_last_token declared inline after being called.
A previous instance: http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01426.html
--
Eric Botcazou
On Thu, Dec 1, 2011 at 7:42 PM, Joseph S. Myers wrote:
> On Thu, 1 Dec 2011, Steven Bosscher wrote:
>
>> Is it valid in dialects older than C99 to declare a function static
>> inline after calling it? Should the warnings be brought back in the
>> compiler?
>
> Older dialects didn't have inline.
N
On Thu, 1 Dec 2011, Steven Bosscher wrote:
> Is it valid in dialects older than C99 to declare a function static
> inline after calling it? Should the warnings be brought back in the
> compiler?
Older dialects didn't have inline.
> One reason to bring the warnings back could be that there is now
Hello,
Today I ran into a problem building today's GCC trunk with an older
GCC 4.3. There is a warning in libcpp/macro.c about
tokens_buff_remove_last_token declared inline after being called.
(This is apparently valid C99 but is it also valid C89?) After some
digging and diffing, it turns out tha