Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with #pragma interface



On Friday, October 18, 2002, at 10:22 PM, John Reppy wrote:


Is this a known bug with gcc 3.1, or is it a feature?


Known bug, been discussed in the past. Supposedly fixed in the next dev tools release.


For several fink packages we actually have to hack out all the #interface/#implementations to get it to compile:

for i in `grep -rl '^#pragma implementation' .` ; do mv $i $i.old ; sed -e 's:^#pragma implementation:// #pragma
implementation:' < $i.old > $i ; rm $i.old ; done
for i in `grep -rl '^#pragma interface' .` ; do mv $i $i.old ; sed -e 's:^#pragma interface:// #pragma interface
:' < $i.old > $i ; rm $i.old ; done


-Ben
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >problems with #pragma interface (From: John Reppy <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.