Skip to content

Commit 22dd87e

Browse files
committed
AVR_GCC: for newer versions of gcc just write a warning, don't consider it an error
modified: src/targets/atmega128/avr.c modified: src/targets/simulavr/avr.c modified: src/targets/xmega128a4u/avr_os.c
1 parent 2ad06ca commit 22dd87e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/targets/atmega128/avr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This is part of OsEID (Open source Electronic ID)
55
6-
Copyright (C) 2015-2019 Peter Popovec, popovec.peter@gmail.com
6+
Copyright (C) 2015-2025 Peter Popovec, popovec.peter@gmail.com
77
88
This program is free software: you can redistribute it and/or modify
99
it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@
4141
#endif
4242

4343
#ifndef X_GCC_OK
44-
#error only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
44+
#warning only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
4545
#endif
4646

4747

src/targets/simulavr/avr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This is part of OsEID (Open source Electronic ID)
55
6-
Copyright (C) 2015-2019 Peter Popovec, popovec.peter@gmail.com
6+
Copyright (C) 2015-2025 Peter Popovec, popovec.peter@gmail.com
77
88
This program is free software: you can redistribute it and/or modify
99
it under the terms of the GNU General Public License as published by
@@ -46,7 +46,7 @@
4646
#endif
4747

4848
#ifndef X_GCC_OK
49-
#error only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
49+
#warning only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
5050
#endif
5151

5252

src/targets/xmega128a4u/avr_os.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
This is part of OsEID (Open source Electronic ID)
55
6-
Copyright (C) 2015-2021 Peter Popovec, popovec.peter@gmail.com
6+
Copyright (C) 2015-2025 Peter Popovec, popovec.peter@gmail.com
77
88
This program is free software: you can redistribute it and/or modify
99
it under the terms of the GNU General Public License as published by
@@ -42,7 +42,7 @@
4242
#endif
4343

4444
#ifndef X_GCC_OK
45-
#error only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
45+
#warning only AVR GCC version 4.8.1 / 4.9.2 / 5.4.0 are tested to compile this code
4646
#endif
4747

4848

0 commit comments

Comments
 (0)