confusing size_t in any.h (Bug #1539)


Added by kristofdenolf - about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Marius Muja % Done:

0%

Category:flann
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

any.h (include\opencv2\flann) uses size_t as a type, but does not explicitly mention it is the std one. This leads to compilation error when compiling for instance with OpenCL.

solution: explicitly mention size_t is the std one: ::size_t on lines 40 and 48


Associated revisions

Revision 63efa5b2
Added by Marius Muja about 13 years ago

Fixing ticket #1539

History

Updated by Marius Muja about 13 years ago

Fixed in r7126.

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Andrey Kamaev about 13 years ago

  • Target version set to 2.4.0
  • Description changed from any.h (include\opencv2\flann) uses size_t as a type, but does not explicitly ... to any.h (include\opencv2\flann) uses size_t as a type, but does not explicitly ... More

Also available in: Atom PDF