-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "redeclared without dllimport attribute..." warning for MinGW #2433
Conversation
@@ -31,7 +31,7 @@ | |||
// CppParser_API functions as being imported from a DLL, whereas this DLL sees symbols | |||
// defined with this macro as being exported. | |||
// | |||
#if (defined(_WIN32) || defined(__CYGWIN__)) && defined(POCO_DLL) | |||
#if (defined(_MSC_VER) || defined(__CYGWIN__)) && defined(POCO_DLL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understood. It will be fixed
@ark0f this tidy-up is a good effort, but it seems something caused many travis failures, those need to be taken care of before merging this |
* Define 'POCO_COMPILER_MINGW' with 'POCO_COMPILER_GCC' too
Thank you. I know about Travis. I see that jobs were interrupted and I can't view full logs as it are more than 4 MB (Travis log limit). I can use |
8eca3fd
to
afe56ea
Compare
Restart didn't give result. |
Hm... I see that Clang produce many warnings |
@aleks-f, I think we need to refactor |
#2356