Writing cross-platform C++ Code (Windows, Linux and Mac OSX)

前端 未结 5 1332
予麋鹿
予麋鹿 2021-01-29 19:48

This is my first-attempt at writing anything even slightly complicated in C++, I\'m attempting to build a shared library that I can interface with from Objective-C, and .NET app

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-29 20:11

    The warning is because if none of the defines are actually defined then you have no return in your probe function. The fix for that is put in a default return.

提交回复
热议问题