[Layout.c/h]: Minor modifications so that the Microsoft compiler can compile the file as C++ directly ; #77

Merged
prenaux merged 1 commits from master into master 2015-05-05 08:09:32 -07:00
prenaux commented 2015-05-05 03:54:27 -07:00 (Migrated from github.com)

Visual C++ doesn't support C99, the simplest way is to compile the C as C++ (by changing the extension or with the /Tp extension on the command line).

These changes account for the fact that its C++ instead of C (one explicit cast), and for the lib C differences.

Visual C++ doesn't support C99, the simplest way is to compile the C as C++ (by changing the extension or with the /Tp extension on the command line). These changes account for the fact that its C++ instead of C (one explicit cast), and for the lib C differences.
vjeux commented 2015-05-05 08:09:42 -07:00 (Migrated from github.com)

Nice tricks

Nice tricks
Sign in to join this conversation.
No description provided.