Mantis - ALGLIB
Viewing Issue Advanced Details
153 General major have not tried 2009-10-13 23:14 2009-10-13 23:17
none 2.1.2  
0000153: FIXED: compiler error under GCC
ap.cpp was successfully compiled under MinGW and other Windows compilers, but there were problems with original GCC under Linux - several standard functions like strlen and strcmp required additional #include's.

Due to ease of fixing this error went unreported until recent message from Chong Luo:

> When I compile the c++ version of svd algorithm using
> "g++ -c *.cpp", I get the following errors:
> ap.cpp:432: error: 'strlen' was not declared in this scope
> ap.cpp:438: error: 'strlen' was not declared in this scope
> ap.cpp:455: error: 'strncmp' was not declared in this scope

However, with new unit testing infrastructure rolled out (next ALGLIB release will be tested under 32/64-bit Windows and Linux systems) such errors shouldn't happen again.
Issue History
2009-10-13 23:14 SergeyB New Issue
2009-10-13 23:14 SergeyB Status new => assigned
2009-10-13 23:14 SergeyB Assigned To => SergeyB
2009-10-13 23:14 SergeyB Programming language => Unspecified
2009-10-13 23:17 SergeyB Status assigned => resolved
2009-10-13 23:17 SergeyB Resolution open => fixed
2009-10-13 23:17 SergeyB Fixed in Version => [NOT RELEASED YET] 2.1.2

There are no notes attached to this issue.