NAME
SET_FORMAT_STRING_BUG - (MACRO) Sets up call to set_bug
SYNOPSIS
#include "l/l_sys_err.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
void SET_FORMAT_STRING_BUG(void);
DESCRIPTION
This macro sets up the call to set_bug when the problem can be described as
an attempt to use an invalid format string. In development code (i.e. when
TEST is defined), a generic message this condition is passed to the routine
set_bug together with the file and line number . In non-development code, a
more user oriented message is passed (depending on the setting of the symbol
REPORT_ALL_BUG_INFO). Note that the behaviour of set_bug() itself is
dependent on the bug_handler, and the behaviour default bug handler is
dependent on whether or not the code is development code.
Note :
It is advisable to expect SET_FORMAT_STRING_BUG to return, even though
under many circumstances it will not. Normally the statement after
SET_FORMAT_STRING_BUG is an error return.
RELATED
set_bug, set_bug_handler, default_bug_handler
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
SET_BUFFER_OVERFLOW_BUG
,
SET_ARGUMENT_BUG
,
SET_NAN_DOUBLE_BUG
,
SET_INFINITE_DOUBLE_BUG
,
SET_NAN_FLOAT_BUG
,
SET_INFINITE_FLOAT_BUG
,
SET_CANT_HAPPEN_BUG
,
SET_BOUNDS_BUG
,
SET_SORT_BUG
,
SET_OVERFLOW_BUG
,
SET_UNDERFLOW_BUG