<@UF63BUA3A> do you know why c99-extensions are ex...
# core
z
@Stefano Bonicatti do you know why c99-extensions are explicitly disabled here? https://github.com/osquery/osquery/blame/master/osquery/tables/system/CMakeLists.txt#L254. This seems to result in a few warnings during the build:
Copy code
In file included from /Users/zwass/dev/osquery/osquery/tables/system/darwin/packages.mm:19:
/Users/zwass/dev/osquery/build/ns_osquery_tables_system_systemtable/osquery/tables/system/darwin/packages.h:41:14: warning: flexible array members are a C99 feature [-Wc99-extensions]
  BOMPointer blockPointers[];
             ^
/Users/zwass/dev/osquery/build/ns_osquery_tables_system_systemtable/osquery/tables/system/darwin/packages.h:61:8: warning: flexible array members are a C99 feature [-Wc99-extensions]
  char name[];
       ^
/Users/zwass/dev/osquery/build/ns_osquery_tables_system_systemtable/osquery/tables/system/darwin/packages.h:81:18: warning: flexible array members are a C99 feature [-Wc99-extensions]
  BOMPathIndices indices[];
                 ^
/Users/zwass/dev/osquery/build/ns_osquery_tables_system_systemtable/osquery/tables/system/darwin/packages.h:99:8: warning: flexible array members are a C99 feature [-Wc99-extensions]
  char linkName[];
       ^
/Users/zwass/dev/osquery/build/ns_osquery_tables_system_systemtable/osquery/tables/system/darwin/packages.h:111:8: warning: flexible array members are a C99 feature [-Wc99-extensions]
  char name[];
       ^
5 warnings generated.
(It's explicitly disabled in some other places as well)