Article View: comp.sys.mac.programmer.codewarrior
Article #1121#pragma always_inline on hangs C compiler?
From: Jason Lamport
Date: Thu, 01 Nov 2001 08:22
Date: Thu, 01 Nov 2001 08:22
17 lines
1663 bytes
1663 bytes
Very strange thing: I'm writing a CDEF resource in C. When I put #pragma always_inline on near the top of my file and attempt to build, the compiler seems to get caught in an infinite loop. It just sits there compiling, with the little gear icon spinning next to the source file icon in the project window, but it never finishes. It's a very small project (450 lines, including comments -- and my coding style uses lots of line-breaks, so that's probably more like 300 lines of "normal" code). Without the #pragma line, the target compiles and links in about 2 seconds; so I'm quite certain that the compiler really is hanging, and not just taking a long time. Any idea why this is happening and how I can prevent it? -jason
Technical Details
Message-ID:
<b53899e6.0111010022.779d054@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f635e,4f0d8bc2a0b16218,start X-Google-Attributes: gidf635e,public X-Google-Thread: 10bcce,4f0d8bc2a0b16218,start X-Google-Attributes: gid10bcce,public X-Google-ArrivalTime: 2001-11-01 00:22:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: elgoog@strangelight.com (Jason Lamport) Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac Subject: #pragma always_inline on hangs C compiler? Date: 1 Nov 2001 00:22:02 -0800 Organization: http://groups.google.com/ Lines: 17 Message-ID: <b53899e6.0111010022.779d054@posting.google.com> NNTP-Posting-Host: 64.255.216.47 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1004602923 10329 127.0.0.1 (1 Nov 2001 08:22:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 1 Nov 2001 08:22:03 GMT