🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1122

Re: #pragma always_inline on hangs C compiler?

#1122
From: meeroh
Date: Thu, 01 Nov 2001 14:04
25 lines
1910 bytes
In article <b53899e6.0111010022.779d054@posting.google.com>,
 elgoog@strangelight.com (Jason Lamport) wrote:

>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?

Do you have a recursive function or a mutually recursive pair of 
functions?

meeroh
-- 
Hire me: <http://meeroh.org/hire.html>
Technical Details
Message-ID: <macdev-E87D46.09040101112001@senator-bedfellow.mit.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
References: <b53899e6.0111010022.779d054@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,4f0d8bc2a0b16218
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,4f0d8bc2a0b16218
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2001-11-01 06:04:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
From: meeroh <macdev@meeroh.org>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Mail-Copies-To: poster
Subject: Re: #pragma always_inline on  hangs C compiler?
Organization: MIT
References: <b53899e6.0111010022.779d054@posting.google.com>
User-Agent: MT-NewsWatcher/3.1 (PPC)
Date: Thu, 01 Nov 2001 09:04:01 -0500
Message-ID: <macdev-E87D46.09040101112001@senator-bedfellow.mit.edu>
Lines: 25
NNTP-Posting-Host: TITANIUM-48.MIT.EDU
X-Trace: 1004623440 senator-bedfellow.mit.edu 1922 18.101.0.199