STR_GCC_295 flag

Web Site

This information applies only to Linux / gcc builds

The primary compiler for Str Library on Unix/FreeBSD/Linux environments is gcc / g++ version 3.1 and above. Str Library is fully supported with these versions of the compiler.

The library can also be used with gcc / g++ 2.95 when the STR_GCC_295 flag is defined in str_config.h

Defining this flag will change slightly some optimimization options (such as the __builtin_ versions of certain C RTL functions) and allow the library to be used with compiler versions as early as 2.95 stable without any modifications in the source code.

Example:

#define STR_GCC_295

It is an error to define this flag when targeting the Windows environment.

 

See also:Str conditional defines