|
From: | Mason |
Subject: | Re: [lwip-devel] [bug #37552] IAR EWARM won't compile ppp-new due to keyword clash |
Date: | Fri, 12 Oct 2012 11:07:03 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120909 Firefox/15.0.1 SeaMonkey/2.12.1 |
Mark Lakata wrote: > The word "class" is reserved in IAR's EWARM compiler since it looks like c++. > This causes a failure to compile in the lcp code. Can't you put the compiler in "C mode" ? > Arguably it is a bug in the compiler, but it is easy to work around with a > name change in the lcp.[ch] code. I fixed it by changing "class" to "class_". IMO, "fixing" code because of broken (proprietary) tools is a very slippery slope. -- Regards.
[Prev in Thread] | Current Thread | [Next in Thread] |