Skip to content

Fix a build problem on Clang.#732

Merged
ras0219-msft merged 1 commit intomicrosoft:masterfrom
adah1972:fix-build-error-on-clang
Aug 3, 2018
Merged

Fix a build problem on Clang.#732
ras0219-msft merged 1 commit intomicrosoft:masterfrom
adah1972:fix-build-error-on-clang

Conversation

@adah1972
Copy link
Copy Markdown
Contributor

AND_CAPTURE_MEMBER_FUNCTION_POINTERS workaround had a check for GCC, but did not exclude Clang. Clang has a fake GCC version of 4.2, thus caused problems.

AND_CAPTURE_MEMBER_FUNCTION_POINTERS workaround had a check for GCC,
but did not exclude Clang.  Clang has a fake GCC version of 4.2, thus
caused problems.
@ras0219-msft
Copy link
Copy Markdown
Contributor

Thanks!

moriarty added a commit to moriarty/cpprestsdk that referenced this pull request Oct 17, 2018
These were disabled as a quick fix for microsoft#778 in microsoft#779.

* no-format-truncation was properly fixed in microsoft#787
* no-unused-lamda-capture was worked around in microsoft#732
* gaurds for gcc 5.4 were added in microsoft#849 but with microsoft#787 aren't needed
BillyONeal pushed a commit that referenced this pull request Oct 17, 2018
* Re-enable no-unused-lamda-capture and no-format-trucation

These were disabled as a quick fix for #778 in #779.

* no-format-truncation was properly fixed in #787
* no-unused-lamda-capture was worked around in #732
* gaurds for gcc 5.4 were added in #849 but with #787 aren't needed

* re-enable warning: -Wdelete-non-virtual-dtor

- Was disabled in #779 and fixed in #844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants