Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [boost][tools] Process jam log broken on Darwin
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-10-07 11:42:51


K. Noel Belcourt wrote:
> darwin.compile.c++
> /private/tmp/kbelco/boost/boost/bin.v2/libs/system/build/darwin-4.0.1/release/link-static/error_code.o
>
>
> "/usr/bin/g++" -ftemplate-depth-128 -O3 -finline-functions
> -Wno-inline -Wall -no-cpp-precomp -gdwarf-2 -Wno-long-double
> -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG
> -I"/private/tmp/kbelco/boost/boost" -c -o
> "/private/tmp/kbelco/boost/boost/bin.v2/libs/system/build/darwin-4.0.1/release/link-static/error_code.o"
> "/private/tmp/kbelco/boost/boost/libs/system/src/error_code.cpp"
>
> /private/tmp/kbelco/boost/boost/libs/system/src/error_code.cpp: In
> member function 'virtual
> std::string<unnamed>::generic_error_category::message(int) const':
> /private/tmp/kbelco/boost/boost/libs/system/src/error_code.cpp:132:
> error: assignment of function 'std::string<unnamed>::msg()'
> /private/tmp/kbelco/boost/boost/libs/system/src/error_code.cpp:132:
> error: cannot convert 'const char*' to 'std::string ()()' in assignment
> /private/tmp/kbelco/boost/boost/libs/system/src/error_code.cpp:145:
> error: conversion from 'std::string (*)()' to non-scalar type
> 'std::string' requested

This should be fixed now.

The take-home point is that Boost.System and Boost.Filesystem changes
need to be tested on Windows, Linux, and Darwin. I had tested the change
that caused the above problem on Windows and Linux, but assumed that if
it worked on gcc/Linux it would work on gcc/Darwin. Wrong assumption.

--Beman


Boost-testing list run by mbergal at meta-comm.com