LPC11C24 enforcing GCC 4.9 or newer

This commit is contained in:
Pavel Kirienko
2015-10-13 15:39:21 +03:00
parent df056a7948
commit b94246237d
@@ -7,6 +7,16 @@
#include <cstdint>
#include <chip.h>
/*
* Compiler version check
*/
#ifdef __GNUC__
# if (__GNUC__ * 10 + __GNUC_MINOR__) < 49
# error "Use GCC 4.9 or newer"
# endif
#endif
namespace uavcan_lpc11c24
{