﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
14806,Linux shared folders compilation failure,Jan Palus,,"Previous CT_ASSERT macro in src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c was replaced with a common one by including iprt/assert.h:
{{{
-/* Compile-time assertion.  If a == 0, we get two identical switch cases, which is not
-   allowed. */
-#define CT_ASSERT(a) \
-    do { \
-        switch(0) { case 0: case (a): ; } \
-    } while (0)
+#include <iprt/assert.h>
}}}
But it looks like include dirs were not adjusted:
{{{
+ x86_64-pld-linux-gcc -O2 -fwrapv -pipe -Wformat '-Werror=format-security' '-Wp,-D_FORTIFY_SOURCE=2' -fstack-protector-strong '--param=ssp-buffer-size=4' -fPIC '-march=x86-64' -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wall -Werror src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c src/VBox/Additions/linux/sharedfolders/vbsfmount.c -o mount.vboxsf
src/VBox/Additions/linux/sharedfolders/mount.vboxsf.c:48:25: fatal error: iprt/assert.h: No such file or directory
compilation terminated.
}}}",defect,closed,other,VirtualBox 5.0.10,worksforme,,,other,other
