This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] cygwin: update child info magic


On 02/12/2016 01:31 PM, Corinna Vinschen wrote:

>>
>>  extern "C" {
>>  extern child_info *child_proc_info;
>> -extern child_info_spawn *spawn_info asm ("_" "child_proc_info");
>> -extern child_info_fork *fork_info asm ("_" "child_proc_info");
>> +extern child_info_spawn *spawn_info asm (
>> +                                        "_"
>> +                                        "child_proc_info");
>> +extern child_info_fork *fork_info asm (
>> +                                      "_"
>> +                                      "child_proc_info");
>>  }
> 
> Is that deliberate or a bug?

Deliberate. gcc 5 now adds additional #line directives around every
macro expansion that came from a different file, so that you can more
easily track which files were involved in macro expansion.  The output
here is show with #line directives filtered out, but it is a gcc feature.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]