"buildheader/db.h:326:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]"

Description

```
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF -DUSE_VALGRIND=OFF
...
make
...
[ 24%] Building CXX object util/CMakeFiles/util.dir/context.cc.o
In file included from /Users/laurynas/percona/ft-index/util/context.cc:41:
In file included from /Users/laurynas/percona/ft-index/util/context.h:43:
/Users/laurynas/percona/ft-index/obj-debug/buildheader/db.h:326:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct __toku_db_lsn {
^
1 warning generated.
```
repeated dozens of times

Environment

Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)

Activity

Show:
George Lorch
August 24, 2015, 5:57 PM
Fixed

Assignee

Unassigned

Reporter

Laurynas Biveinis

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Priority

Major