Boost Configuration Generator 1.6

 

Description

The Boost Configuration Generator utility will create a set of substitute header files for the boost libraries to ensure that QAC++ analyses via the standard C++ route through the libraries. The GUI utility (BoostConfigGen.exe) provides an interface for the parameters as listed in the below table.

 

On successfully completion of the configuration generator, the utility will alert the user for any need to add include paths to either the

-          analyzer personality associated with the project

-          or for makefile integration to add the output location as the first include path in your make’s CPPFLAGS or equivalent include variable.

 

In the event that the original boost include path was specified in the compiler personality, this will not be necessary. If the original boost include path was not present in the compiler personality file then it is assumed that it is present in the analyzer personality. The user will need to add the new configuration include directory to the personality above the original boost include path (using both –I and –q). Please see the log output in the configuration generator window for details.

 

The resulting analyzer personality would contain something like:

-i “<output path as specified to generator>”

-q “<output path as specified to generator>”

-i “C:\boost_1_40_0\”

-q “C:\boost_1_40_0\”

 

If you discover that there are still Level 9 Syntax errors encountered during your analysis when using a personality file generated by this utility, please make a note of the error and your compiler and notify support@programmingresearch.com.

 

The Boost Configuration Generator is typically run in GUI mode rather than as a command line tool.

However the command line tool (FrwdHdr.exe) can be run with the following arguments:

 

Command line options

<current_compiler_personality>

Mandatory

Specifies the path to the compiler personality being used to analyse project.

<original_header_location>

Mandatory

Specifies the path to the installation directory of the boost headers including the “boost” sub folder ie:
c:\boost_1_39_0\boost.

<configuration_output_location>

Mandatory

Specifies the path to the directory where the substitute headers will be created ie
c:\boost_1_39_0\stub
(note this directory needs to exist on disk)

 

Change History

Version 1.6

 

 

 

 

Version 1.5

 

 

Version 1.4

 

 

 

Version 1.3

 

 

Version 1.2

 

Version 1.1

 

 

 

Version 1.0

Added overload define to resulting compiler personality edits: BOOST_TYPEOF_NESTED_TYPEDEF_TPL

Added defines to avoid C++0x language constructs within boost headers.

 

Added further support for the boost/config/platform and boost/config/stdlib directories.

 

Added support on windows for BOOST_WINDOWS define. Included additional supported compilers (IBM, Sun Solaris)

Added yvals.h specific substitute header for Windows/VC++

 

Fixed bug with creation of directories for “machine/sys/inline.h” and included further error string in GUI for incorrect options

 

Installer package and version number display upgrades

 

Further support for numeric and ublas libraries.
Support for short/long variations of compiler personality options

Further support for thread libraries

 

Initial version of the Boost Configuration Generator. The following libraries may not yet complete 100% successfully:
boost/mpl/preprocessed
boost/numeric/interval

Boost/numeric/ublas