Menu

#2 keyword 'interface' collides with reserved from Windows.h

open
nobody
None
5
2006-06-19
2006-06-19
Anonymous
No

Compiling in VisualStudio 2005, the
keyword 'interface' is now reserved by the inclusion
of Windows.h into libvisca.h. As a result the
compiler generates an error when compiling
libvisca.c.
The word 'interface' is being used as a variable
name, so the fix is easy, to just change this word
to 'iface' or some other non-reserved token.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB