ThePhD / sol2

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
http://sol2.rtfd.io/
MIT License
4.2k stars 514 forks source link

Lol #1635

Open A-Boring-Square opened 2 weeks ago

A-Boring-Square commented 2 weeks ago
  1. What is this pain
  2. Lol
    
    #if SOL_IS_ON(SOL_INSIDE_UNREAL_ENGINE_I_)
    #ifdef check
    #pragma push_macro("check")
    #undef check
    #endif
    #endif // Unreal Engine 4 Bullshit

if SOL_IS_ON(SOL_COMPILER_GCCI)

pragma GCC diagnostic push

pragma GCC diagnostic ignored "-Wshadow"

pragma GCC diagnostic ignored "-Wconversion"

if GNUC > 6

pragma GCC diagnostic ignored "-Wnoexcept-type"

endif

elif SOL_IS_ON(SOL_COMPILER_CLANGI)

// we'll just let this alone for now

elif SOL_IS_ON(SOL_COMPILER_VCXXI)

pragma warning(push)

pragma warning(disable : 4505) // unreferenced local function has been removed GEE THANKS

endif // clang++ vs. g++ vs. VC++

deadlocklogic commented 2 weeks ago

Have you ever heard of hacks to enable a library to work across different platforms/dependencies etc...? This is nothing special, unless you were triggered by a word. Please keep the issue tracker exclusively for issue/discussions.