DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

testBits fails on MacOS (10.8, clang 4.0) #433

Closed dcoeurjo closed 11 years ago

dcoeurjo commented 12 years ago

the output:

MacBook-Pro-de-David:~/Sources/DGtal/build/tests/base> ./testBits 16:05 (1612/1612) tests. New Block [Testing speed of loop version of indexInSetBits]

kerautret commented 12 years ago

I also see some errors on linux:

/home/kerautre/EnCours/DGtal/tests/base/testBits.cpp: In function ‘int main()’: /home/kerautre/EnCours/DGtal/tests/base/testBits.cpp:60: erreur: reference to ‘uint8_t’ is ambiguous /usr/include/stdint.h:49: erreur: candidates are: typedef unsigned char uint8_t /home/kerautre/EnCours/DGtal/src/DGtal/base/BasicTypes.h:60: erreur: typedef uint8_t DGtal::uint8_t

kerautret commented 12 years ago

(on gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) )

JacquesOlivierLachaud commented 12 years ago

I correct this bug in the ConvexIntegerPolygon pull request.