hercules-390 / hyperion

Hercules 390
Other
248 stars 67 forks source link

Spurious/incorrect error messages naming _dynamic_version.h and VERSION during VS2015 IDE build #197

Open srorso opened 7 years ago

srorso commented 7 years ago

When VS2015 IDE cannot find _dynamic_version.h in the source directory, two error messages are generated in error. They can be seen in the IDE's "Error List" tab.

cannot open source file "_dynamic_version.h"
#error directive: "VERSION not defined properly"

These messages are caused by the relocation of _dynamic_version.h to the target-specific build include directory. The relocation is done in line 34 of PRIM_Rules.msvc. Keeping the Windows source directory clean in this instance conflicts with how VS 2015 works.

The error messages can be ignored. Hercules builds correctly both from the command line and from the IDE, even when these messages are issued.