[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: cpp infinite loop
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2008-06-23 8:28:30
Message-ID: 485F5EAE.6040309 () ludd ! ltu ! se
[Download RAW message or body]

KAMADA Ken'ichi wrote:
> cpp goes into an infinite loop when a use of a macro is not
> correctly terminated.  This is not a conformance bug,
> but an annoying "undefined behavior" :-)
> 
> #define M(a)
> M(test;
> 
Yes, quite annoying, I added a check for it now so it complains instead.

Thanks for your bug report.

-- Ragge
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic