Skip to content
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

Revert "fix -Wgnu-designator warnings" #812

Merged
merged 1 commit into from
Nov 4, 2013
Merged

Conversation

dotnwat
Copy link
Contributor

@dotnwat dotnwat commented Nov 4, 2013

Struct initialization using dot notation as in C99, but that happens to
not be valid C++, although apparently in C++11 it is valid. We'll need a
way to keep clang from throwing warnings at this initialization style,
either using some macros to detect the comiler environment, or perhaps
moving struct initialization to a C file rather than C++.

This reverts commit 6efc2b5.

Signed-off-by: Noah Watkins noahwatkins@gmail.com

Struct initialization using dot notation as in C99, but that happens to
not be valid C++, although apparently in C++11 it is valid. We'll need a
way to keep clang from throwing warnings at this initialization style,
either using some macros to detect the comiler environment, or perhaps
moving struct initialization to a C file rather than C++.

This reverts commit 6efc2b5.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
liewegas pushed a commit that referenced this pull request Nov 4, 2013
Revert "fix -Wgnu-designator warnings"
@liewegas liewegas merged commit 254799b into master Nov 4, 2013
@liewegas liewegas deleted the revert-struct-init branch January 3, 2014 00:37
liewegas pushed a commit that referenced this pull request Dec 14, 2016
suites/fs: enable all snapshost test scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants