Blender Git Commit Log

Git Commits -> Revision d423e66

Revision d423e66 by Bastien Montagne (master)
November 23, 2017, 19:25 (GMT)
Add non-gcc variant of static assert macro.

Adapted from http://www.pixelbeat.org/programming/gcc/static_assert.html.

Note that this macro just discards error message, so error when building
is much less nice than with gcc's _Static_assert... But error log will
point to right place in code, so should still be OK.

Commit Details:

Full Hash: d423e66d348fa0cda661aeb0f85195d934e7680c
Parent Commit: 5e13097
Lines Changed: +18, -2

1 Modified Path:

/source/blender/blenlib/BLI_utildefines.h (+18, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021