Opened 11 years ago

Last modified 9 years ago

#6450 closed Patches

Patch to allow user to specify current filename macro — at Version 1

Reported by: Antony Polukhin Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost 1.48.0 Severity: Optimization
Keywords: Cc: antoshkka@…

Description (last modified by Antony Polukhin)

When BOOST_THROW_EXCEPTION used, compiler generates a string with function name. If a function is templated, compiler will generate a string for each function template. That leads to a huge binary files.

Attached patch, that allows to disable construction of such strings or to use different macro for current function name (for example macro that prints ONLY function name).

More info

Change History (3)

by Antony Polukhin, 11 years ago

Attachment: throw_exception.patch added

by Antony Polukhin, 11 years ago

Attachment: BOOST_THROW_EXCEPTION.patch added

comment:1 by Antony Polukhin, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.