bugzilla-daemon at mindrot.org
2005-Nov-05 04:13 UTC
[Bug 1112] __dead conflicts with sys/cdefs.h on Interix
http://bugzilla.mindrot.org/show_bug.cgi?id=1112 Summary: __dead conflicts with sys/cdefs.h on Interix Product: Portable OpenSSH Version: 4.2p1 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: tv at pobox.com The __dead definition in defines.h redefines it to be __attribute__(noreturn) -- which works fine if the OS's sys/cdefs.h uses the same definition, or if the symbol wasn't previously defined. However, Interix uses (and provides) the older BSD definition for __dead, which is "volatile". That can't live after the arguments; it would have to be placed before the return type. A better solution here would be to use __attribute__(noreturn) explicitly and do away with playing __dead (pun intended). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Nov-05 04:18 UTC
[Bug 1112] __dead conflicts with sys/cdefs.h on Interix
http://bugzilla.mindrot.org/show_bug.cgi?id=1112 ------- Comment #1 from tv at pobox.com 2005-11-05 15:18 ------- Created an attachment (id=1020) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1020&action=view) Patch removing __dead and using __attribute__(noreturn) explicitly ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Nov-05 04:31 UTC
[Bug 1112] __dead conflicts with sys/cdefs.h on Interix
http://bugzilla.mindrot.org/show_bug.cgi?id=1112 tv at pobox.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1114 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Apparently Analagous Threads
- [Bug 1112] __dead conflicts with sys/cdefs.h on Interix
- [Bug 1113] Add Interix authentication support
- [Bug 1114] Make concept of "root UID" more abstract for Interix support
- interix / xapian / bindings / Eric Lindblad
- gnu_getopt.h / errors Interix 3.5 / xapian-core-1.2.21 / Eric Lindblad