This is the mail archive of the
mailing list for the GCC project.
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.