Opened 9 years ago

Last modified 9 years ago

#8822 new Bugs

issues compiling regex on SunOS 5.9 sparc

Reported by: Gert Grossmann <gert.grossmann@…> Owned by: Daniel James
Milestone: To Be Determined Component: hash
Version: Boost 1.54.0 Severity: Regression
Keywords: Cc:

Description

./b2 toolset=sun -d+2 address-model=64 threading=multi link=static runtime-link=static variant=debug regex

"CC" +d -library=stlport4 -g -mt -erroff=%none -m64 -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -I"." -I"/usr/include" -c -o "bin.v2/libs/regex/build/sun/debug/address-model-64/link-static/runtime-link-static/stdlib-sun-stlport/threading-multi/cregex.o" "libs/regex/build/../src/cregex.cpp"

CC: Warning: Option -m64 passed to ld, if ld is invoked, ignored otherwise "./boost/functional/hash/detail/hash_float.hpp", line 99: Error: complex expression not allowed in dependent template argument expression. "./boost/functional/hash/detail/hash_float.hpp", line 113: Error: complex expression not allowed in dependent template argument expression. "./boost/functional/hash/detail/hash_float.hpp", line 126: Error: complex expression not allowed in dependent template argument expression. "./boost/functional/hash/detail/hash_float.hpp", line 139: Error: complex expression not allowed in dependent template argument expression. 4 Error(s) detected.

Other files are also affected.

Regards, Gert

Change History (3)

comment:1 by Daniel James, 9 years ago

(In [85246]) Simpler test for appropriate floats for binary hashing. Refs #8822.

No idea if this will actually fix it.

comment:2 by Daniel James, 9 years ago

(In [85389]) Merge Hash. Fixes #8568, Refs #8822.#8822.#8822.

comment:3 by Daniel James, 9 years ago

(In [86172]) Simplify SFINAE for largest float overload. Refs #8822.

I accidentally missed it out. Also fix the return values.

Note: See TracTickets for help on using tickets.