projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f461930
)
Add missing limits include
author
Michael Pratt
<michael@pratt.im>
Wed, 13 Nov 2013 02:40:39 +0000
(21:40 -0500)
committer
arc
<arc@cthulhu.lan>
Wed, 13 Nov 2013 03:29:41 +0000
(22:29 -0500)
Without limits included, several CUDA related files fail to compile with
GCC on Ubuntu:
modules/cudaimgproc/src/hough_lines.cpp:136:9: error: ‘numeric_limits’ is not a member of ‘std’
modules/cudaimgproc/src/precomp.hpp
patch
|
blob
|
history
diff --git
a/modules/cudaimgproc/src/precomp.hpp
b/modules/cudaimgproc/src/precomp.hpp
index
c31d6a3
..
964c28c
100644
(file)
--- a/
modules/cudaimgproc/src/precomp.hpp
+++ b/
modules/cudaimgproc/src/precomp.hpp
@@
-59,4
+59,6
@@
# include "opencv2/cudafilters.hpp"
#endif
+#include <limits>
+
#endif /* __OPENCV_PRECOMP_H__ */