home › Forums › # Technical Support › Fuzzylite on VS 2012 does not compile › Reply To: Fuzzylite on VS 2012 does not compile
Thank you for your email reporting the issue.
I have tried to “Build Solution” in Visual Studio 2010 and I was not able to compile either. The problem is that a warning is raised during compile time and warnings are treated as errors in order to have clean builds. The warning code is
C4702, which happens due to unreachable code (e.g. code after a return statement) that I use for tests.
Please, add in file
fl/fuzzylite.h the following line within the
#ifdef FL_WINDOWS (together with the other
#pragma warning(disable:4702) //Ignore unreachable code
I was able to compile after this.
Please, let me know if this solves your issue.
- This reply was modified 9 years, 3 months ago by Juan Rada-Vilela (admin).