Boost logo

Boost :

Subject: [boost] [graph] PATCH to eliminate gcc 4.2 warnings when compiling boost/graph/read_dimacs.hpp
From: Daniel Trebbien (dtrebbien_at_[hidden])
Date: 2010-10-30 15:29:31


Attached is a patch that changes the definition of `err_message` in
boost/graph/read_dimacs.hpp_at_66260 from:
  static char *err_message[]
to:
  static const char *err_message[]

This will eliminate the warnings that were recorded at:
http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-2-4-boost-bin-v2-libs-graph-test-stoer_wagner_test-test-gcc-4-2-4-debug-link-static.html

Daniel




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk