You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bootstrapper library uses a const STRING ERROR which is a very common name (définitions in Helpers.h, set value in Helspers.cpp, used in BootstrapManager.cpp and may be in the application code).
I am using also the ezTime library which use the same name ERROR in an enum list.
The compiler raises an error related to the reuse of an existing name, and this, whatever is the order of the #include directives of the 2 libraries.
I solved provisionally this issue by renaming ERROR in the Bootstrapper library but this make testing of the committed modifications more difficult.
I have now taken the option to modify the ERROR name in the ezTime library.
In both case, this is not clean.
Could you recommend a better solution as using namespace or anything else ?
The text was updated successfully, but these errors were encountered:
Bootstrapper library uses a
const STRING ERROR
which is a very common name (définitions in Helpers.h, set value in Helspers.cpp, used in BootstrapManager.cpp and may be in the application code).I am using also the ezTime library which use the same name ERROR in an enum list.
The compiler raises an error related to the reuse of an existing name, and this, whatever is the order of the #include directives of the 2 libraries.
I solved provisionally this issue by renaming ERROR in the Bootstrapper library but this make testing of the committed modifications more difficult.
I have now taken the option to modify the ERROR name in the ezTime library.
In both case, this is not clean.
Could you recommend a better solution as using namespace or anything else ?
The text was updated successfully, but these errors were encountered: