[PATCH] cygwin: update child info magic

Eric Blake eblake@redhat.com
Fri Feb 12 20:34:00 GMT 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160212/d0dd85d7/attachment.sig>


More information about the Cygwin-patches mailing list