Skip to content

Commit

Permalink
COMP: added vcl compiler detection for GCC 10.x
Browse files Browse the repository at this point in the history
Change-Id: Ie2ad7c15a9166aa553c92a1075f7e6cc7aa05155
  • Loading branch information
nolden authored and dzenanz committed May 22, 2020
1 parent f360092 commit e53d1d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@
# else
# define VCL_GCC_90
# endif
# elif (__GNUC__==10)
# define VCL_GCC_10
# if (__GNUC_MINOR__ > 2 )
# define VCL_GCC_103
# elif (__GNUC_MINOR__ > 1 )
# define VCL_GCC_102
# elif (__GNUC_MINOR__ > 0 )
# define VCL_GCC_101
# else
# define VCL_GCC_100
# endif
# else
# error "Dunno about this gcc"
# endif
Expand Down

0 comments on commit e53d1d9

Please sign in to comment.