Applied C++
Practical Techniques for Building Better Software
JPEG Software (Independent JPEG Group)
Notes:
On FreeBSD (and probaly other platforms), building the
jpeg delegate using default settings will not enable proper
stack unwinding. If you attempt to generate C++ exceptions from
error handlers you write, the C code will abort. With gcc you need
to specify '-fexceptions' to make sure exceptions
work properly.
The jpeg libraray was configured with:
./configure CFLAGS='-O2 -fexceptions'
|
|