- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When porting kernel-mode *.sys x64 driver from MS compiler to Intel compiler I metthese unresolved symbols:
error LNK2019: unresolved external symbol __annotation referenced in function ....
When I look into wdm.h (in DDK) there several ASSERTs defines like for example:
When porting kernel-mode *.sys x64 driver from MS compiler to Intel compiler I metthese unresolved symbols:
error LNK2019: unresolved external symbol __annotation referenced in function ....
When I look into wdm.h (in DDK) there several ASSERTs defines like for example:
#define NT_ASSERT(_exp) \
((!(_exp)) ? \
(__annotation(L"Debug", L"AssertFail", L#_exp), \
DbgRaiseAssertionFailure(), FALSE) : \
TRUE)
But I cannot find nothing more about "__annotation" function in MS documentationor headers, so I assume that it is something built-in compiler.
Hcan I resolve this symbol in Intel Compiler ? Or does support Intel environment some alternative for it ?
Otherunresolved symbols are _byteswap_ushort and _byteswap_ulong. Both are in MS documented like crt functions in intrinsics form.
Does provide Intel compiler environment some alternative for it ?
Thanks !
Peter
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see suggestions about __annotation at
http://members.ozemail.com.au/~geoffch@ozemail.com.au/samples/programming/msvc/language/predefined/index.html
Likewise, there are suggested standard alternatives to MSVC byteswap macros posted, e.g.
http://www.koders.com/c/fid041BB8F77186B27FA3BB284D4FAC360980717786.aspx
http://members.ozemail.com.au/~geoffch@ozemail.com.au/samples/programming/msvc/language/predefined/index.html
Likewise, there are suggested standard alternatives to MSVC byteswap macros posted, e.g.
http://www.koders.com/c/fid041BB8F77186B27FA3BB284D4FAC360980717786.aspx
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page