Opened 14 years ago

Closed 13 years ago

#2872 closed Bugs (fixed)

boost/numeric/ublas/lu.hpp does not compile with GCC 4.3.2 64bit

Reported by: simon.schulz@… Owned by: Gunter
Milestone: Boost 1.41.0 Component: uBLAS
Version: Boost 1.38.0 Severity: Problem
Keywords: Cc:

Description

in line 134 "singular" is declared as int in line 153: "singular = i + 1;" where i is declared as size_type

fix is simply done by declaring "singular" as size_type.

This is the case for all factorizations.

GCC build with these options:

g++ -g -fexceptions -fPIC -Wall -Wshadow -Wformat-security -Wdisabled-optimization -Werror -Wextra -Wformat-y2k -Wcast-qual -m64 -march=opteron -O0 -Wpointer-arith -Wconversion -Wcast-align -Wstrict-null-sentinel -Wnon-template-friend -Woverloaded-virtual -Wdeprecated -funit-at-a-time

https://svn.boost.org/trac/boost/browser/trunk/boost/numeric/ublas/lu.hpp#L134

Change History (5)

comment:1 by simon.schulz@…, 14 years ago

Component: Nonenumeric
Owner: set to Douglas Gregor

Updated component field

comment:2 by Steven Watanabe, 14 years ago

Component: numericuBLAS
Owner: changed from Douglas Gregor to Gunter

comment:3 by Gunter, 13 years ago

(In [56606]) see #2872: boost/numeric/ublas/lu.hpp does not compile with GCC 4.3.2 64bit (Incomplete)

  • changed type of singular to size_type as suggested

comment:4 by Gunter, 13 years ago

Milestone: Boost 1.39.0Boost 1.41.0
Status: newassigned

comment:5 by Gunter, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [56608]) fix #2872: (possible compile failure)

Note: See TracTickets for help on using tickets.