objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
154 stars 11 forks source link

[MSYS2 CLANG64] warning: unknown pragma ignored [-Wunknown-pragmas] #464

Closed ghost closed 7 months ago

ghost commented 7 months ago

On core/vm/arch/win32/win32.h, please wrap these pragmas in #ifdef _MSC_VER and #endif block:

#ifdef _MSC_VER
#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "User32.lib")
#pragma comment(lib, "UserEnv.lib")
#pragma comment(lib, "shlwapi.lib")
#endif
objeck commented 7 months ago

Done