Opened 13 years ago
Closed 12 years ago
#4013 closed Patches (fixed)
[PATCH] boost/exception gcc warning cleanup
Reported by: | Owned by: | Emil Dotchevski | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | exception |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | gcc warning | Cc: |
Description
Using GCC >= 2.5, it is possible to specify attribute((noreturn)), which circumvents the "function may be a candidate for noreturn" warning.
Unfortunately, I don't know how to check against 2.5 specifically using your methods, to the check is for GNUC >= 3.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | boost_exception_gcc_warning_cleanup.diff added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
For all practical purposes, we don't care about gcc 2.x. Anyway, the macro would be GNUC_MINOR.
Note:
See TracTickets
for help on using tickets.
To reproduce, compile with -Wmissing-noreturn on a gcc 4.x.