]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Revert "fix -Wgnu-designator warnings" 812/head
authorNoah Watkins <noahwatkins@gmail.com>
Mon, 4 Nov 2013 14:18:45 +0000 (06:18 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 4 Nov 2013 14:23:22 +0000 (06:23 -0800)
commit41e052dc200ac0fd06785f006a24435101465852
tree93608d11b325a59176d125e251c834f7a07d8465
parent96f4607bb09da02fdb2e29164a29e95bb7917176
Revert "fix -Wgnu-designator warnings"

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 6efc2b54d5ce85fcb4b66237b051bcbb5072e6a3.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/client/fuse_ll.cc
src/common/config.cc