C++ Compilation for Marketplace (Strict warnings and errors?)

Hello., Currently I am working on a code plugin project which going to be put on Marketplace. It is stated that the plugin should not generate any warning or errors which for me it doesn’t but it appears that the UE4 Team compilation generate specific and more strict warnings which I cannot recreate so I can fix them. (Warning example: “should not use switch for boolean values”). Is there a specific compilation method that I have to do ? It appears that trying to build the plugin for Linux generate these warnings but I am not targeting to release my plugin on Linux. It would be great if someone can help me out.