Opened 13 years ago

Closed 12 years ago

#4013 closed Patches (fixed)

[PATCH] boost/exception gcc warning cleanup

Reported by: Tatu Kilappa <tatu.kilappa@…> 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)

boost_exception_gcc_warning_cleanup.diff (1.0 KB ) - added by Tatu Kilappa <tatu.kilappa@…> 13 years ago.

Download all attachments as: .zip

Change History (4)

by Tatu Kilappa <tatu.kilappa@…>, 13 years ago

comment:1 by Tatu Kilappa <tatu.kilappa@…>, 13 years ago

To reproduce, compile with -Wmissing-noreturn on a gcc 4.x.

comment:2 by Steven Watanabe, 13 years ago

For all practical purposes, we don't care about gcc 2.x. Anyway, the macro would be GNUC_MINOR.

comment:3 by Emil Dotchevski, 12 years ago

Resolution: fixed
Status: newclosed

This is fixed, right?

Note: See TracTickets for help on using tickets.