Fix build support gcc8 for other arch (#567)

This commit is contained in:
刘帅 authored and GitHub committed 2022-08-31 10:54:19 -07:00
1 parent bf31f0f8be
commit 93c4e3a15a
3 files changed
+3 -3

No files matched your search

@@ -2,7 +2,7 @@
// Do not build on GCC8, GCC8 has a compiler bug
#if defined(ARDUINO_ARCH_RP2040) || (__GNUC__ == 8)
#if defined(ARDUINO_ARCH_RP2040) || ((__GNUC__ == 8) && (__XTENSA__))
void setup() {}
void loop() {}
#else
+1 -1
View File
@@ -58,7 +58,7 @@
#include "AudioGeneratorMIDI.h"
#if __GNUC__ == 8
#if (__GNUC__ == 8) && (__XTENSA__)
// Do not build, GCC8 has a compiler bug
#else // __GNUC__ == 8
+1 -1
View File
@@ -21,7 +21,7 @@
#ifndef _AUDIOGENERATORMIDI_H
#define _AUDIOGENERATORMIDI_H
#if __GNUC__ == 8
#if (__GNUC__ == 8) && (__XTENSA__)
// Do not build, GCC8 has a compiler bug
#else // __GNUC__ == 8