## #78 YARP fails to build in Visual Studio because of Logger.h

closed-fixed
5
2011-10-31
2011-10-31
Anonymous
No

Visual Studio returns lots of errors when compiling in Windows.
I was able to make a workaround by adding:

#ifdef DEBUG
#undef DEBUG
#endif

to file <YARP_ROOT>\src\libYARP_OS\include\yarp\os\impl\Logger.h

Is this a bug? or am I doing something wrong?

## Discussion

• assigned_to: nobody --> eshuy
• status: open --> closed-fixed

• Thanks for the report! We hadn't seen this before on visual studio. I modified Logger.h to avoid using the DEBUG symbol entirely. Do you have a name? (for ChangeLog credit?)