Opened 13 years ago

Closed 13 years ago

#3795 closed Bugs (fixed)

Fix boost_graph build on RHEL3

Reported by: Max Khon <fjoe@…> Owned by: Andrew Sutton
Milestone: Boost 1.42.0 Component: graph
Version: Boost 1.41.0 Severity: Regression
Keywords: Cc:

Description

Attached patch fixed the build on RHEL3 with stock gcc.

Attachments (1)

boost-gcc3.2.patch (527 bytes ) - added by Max Khon <fjoe@…> 13 years ago.

Download all attachments as: .zip

Change History (3)

by Max Khon <fjoe@…>, 13 years ago

Attachment: boost-gcc3.2.patch added

comment:1 by Max Khon <fjoe@…>, 13 years ago

  • Error message is:

gcc.compile.c++ bin.v2/libs/graph/build/gcc-3.2.3/release/pch-off/threading-multi/read_graphviz_new.o libs/graph/src/read_graphviz_new.cpp:78: semicolon missing after declaration of

`boost::read_graphviz_detail::token::token_type'

  • gcc version is:

[root@rpmbuild-as3 boost_1_41_0]# g++ --version g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-54) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • RHEL3 version is:

[root@rpmbuild-as3 boost_1_41_0]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 3 (Taroon Update 7)

comment:2 by Jeremiah Willcock, 13 years ago

Resolution: fixed
Status: newclosed

(In [58531]) Split enum definition and object definition to work around issue in GCC 3.2; fixes #3795

Note: See TracTickets for help on using tickets.