intrin.h multiple C linkage (Bug #1368)


Added by sebastien wybo over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

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

Description

Having a source file with winnt.h and cv.h included results in compiler errors in VS2005 (at least) :

error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\intrin.h 944

This comes from operations.hpp which includes intrin.h directly now rather than windows.h


Associated revisions

Revision 65e036fe
Added by Vadim Pisarevsky over 13 years ago

fixed bug #1368

Revision 60ebe200
Added by Vadim Pisarevsky over 13 years ago

fixed multiple warnings on Windows. fixed bug #1368

History

Updated by Vadim Pisarevsky over 13 years ago

thanks! The problem is now fixed in SVN trunk.

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

Updated by Andrey Kamaev almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF