Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0001026 |
[ALGLIB] General |
minor |
always |
2024-01-29 18:04 |
2024-04-11 18:54 |
|
Reporter |
barracuda156 |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
Platform |
|
Status |
new |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
|
Product Version |
4.01.0 |
|
Target Version |
4.02.0 |
Product Build |
|
|
Summary |
0001026: alglib makes a wrong assumption for size of bool: is may not be 1 byte |
Description |
The code assumes 1-byte bool, which is wrong for some platforms.
[ 26%] Building CXX object CMakeFiles/alglib.dir/src/ap.cpp.o
/usr/bin/g++-4.2 -Dalglib_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_alglib/alglib/work/alglib-cpp/src -pipe -Os -DNDEBUG -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -fPIC -MD -MT CMakeFiles/alglib.dir/src/ap.cpp.o -MF CMakeFiles/alglib.dir/src/ap.cpp.o.d -o CMakeFiles/alglib.dir/src/ap.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_alglib/alglib/work/alglib-cpp/src/ap.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_alglib/alglib/work/alglib-cpp/src/ap.cpp:294: error: size of array ‘_ae_bool_must_be_8_bits_wide’ is negative |
Steps To Reproduce |
|
Additional Information |
Darwin ppc has 4-byte bool. |
|
Programming language |
C++ |
|
Attached Files |
|
|