This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Parametrize exception message length


> How about making it selectable via a configuration pragma or command-line
> switch or something like that?  In the past I've put detailed debugging info into
> exception messages only to discover that it's been truncated due to the 200
> character limit.

The length has to be a constant known when compiling the run-time for
efficiency and to avoid dynamic memory allocation, so what you are suggesting
is not feasible under these constraints.

Arno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]