Modify

Opened 6 years ago

Closed 6 years ago

#6347 closed Bugs (fixed)

detail/memory_util.hpp error: extra `;'

Reported by: viboes Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: intrusive
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The following tester is reporting the following errors.

Test output: Sandia-gcc-3.4.6 - chrono - duration_input_header / gcc-3.4.6
Rev 76268 / Mon, 2 Jan 2012 07:47:00 +0000
Report Time: Mon, 2 Jan 2012 12:50:41 +0000
Compile [2012-01-02 08:21:11 UTC]: fail
 
    "/sierra/Sntools/extras/compilers/gcc-3.4.6/bin/g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -pedantic -g -fPIC -m32 -Wextra -Wno-long-long -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CHRONO_USES_MPL_ASSERT -DBOOST_SYSTEM_NO_DEPRECATED  -I".." -c -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/chrono/test/duration_input_header.test/gcc-3.4.6/debug/address-model-32/io/duration_input.o" "../libs/chrono/test/io/duration_input.cpp"
 
In file included from ../boost/intrusive/pointer_traits.hpp:26,
                 from ../boost/interprocess/detail/utilities.hpp:32,
                 from ../boost/interprocess/smart_ptr/unique_ptr.hpp:22,
                 from ../boost/chrono/detail/scan_keyword.hpp:22,
                 from ../boost/chrono/io_v1/chrono_io.hpp:26,
                 from ../boost/chrono/chrono_io.hpp:17,
                 from ../libs/chrono/test/io/duration_input.cpp:5:
../boost/intrusive/detail/memory_util.hpp:142: error: extra `;'
../boost/intrusive/detail/memory_util.hpp:143: error: extra `;'
../boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp: In function `bool boost::chrono::detail::gt(T, U) [with T = long long int, U = long long unsigned int]':
../boost/chrono/io_v1/chrono_io.hpp:537:   instantiated from `std::basic_istream<_CharT, _Traits>& boost::chrono::operator>>(std::basic_istream<_CharT, _Traits>&, boost::chrono::duration<Rep2, Period2>&) [with CharT = char, Traits = std::char_traits<char>, Rep = int_least32_t, Period = boost::ratio<3600ll, 1ll>]'
../libs/chrono/test/io/duration_input.cpp:16:   instantiated from `void test_good(const char*, D) [with D = boost::chrono::duration<int_least32_t, boost::ratio<3600ll, 1ll> >]'
../libs/chrono/test/io/duration_input.cpp:55:   instantiated from here
../boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp:37: warning: comparison between signed and unsigned integer expressions
 

It seems there is a little extra ';' at the end of the macro call.

BOOST_INTRUSIVE_INSTANTIATE_DEFAULT_TYPE_TMPLT(element_type);
BOOST_INTRUSIVE_INSTANTIATE_DEFAULT_TYPE_TMPLT(difference_type);

Some other testers are suffering from the same problem. Please, could you take care of this little issue?

BTW, the issue appear in trunk and release.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Ion Gaztañaga

Let's see if revision 76282 fixes the problem.

comment:2 Changed 6 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Problems seems resolved. Closing bug

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.