Mike Guy wrote:

>Steve Hay <[EMAIL PROTECTED]> wrote
>  
>
>>Does anyone else see several dozen
>>
>>warning: #pragma system_header ignored outside include file
>>
>>warnings when building Errno with gcc?
>>
>>I see it on Win32 (MinGW -- gcc 3.2.3).  It never used to happen, but 
>>does as of change 23806 which filled in $Config{gccversion} and thus 
>>causes Errno_pm.PL to scan the output of "gcc -E -dM" on each header 
>>file, rather than scanning each header file directly.
>>    
>>
>
>I dont't know what's meant to be happening here, but is the answer to
>apply gcc -E -dM to a file containing just (for example)
>
>#include windows.h
>
>?
>
>And if that's the case, can the processing of the files be done in just
>one call to gcc?
>
Yes, and yes!  Done in change 25014 -- thanks.

(Following the principle of "don't fix it if it ain't broke" I only 
applied the change to the Win32/gcc case.  Possibly other setups could 
benefit from working the same way, but it wouldn't exactly save much 
time so it didn't seem worth the risk.)



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to