[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58862] avr/wdt.h LLVM11 error for atmega328p
From: |
Kim |
Subject: |
[bug #58862] avr/wdt.h LLVM11 error for atmega328p |
Date: |
Fri, 31 Jul 2020 07:32:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4202.0 Safari/537.36 |
URL:
<https://savannah.nongnu.org/bugs/?58862>
Summary: avr/wdt.h LLVM11 error for atmega328p
Project: AVR C Runtime Library
Submitted by: kimstik
Submitted on: Fri 31 Jul 2020 11:32:44 AM UTC
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Assigned to: None
Percent Complete: 0%
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 2.0.0
Fixed Release: None
_______________________________________________________
Details:
Error message:
avr\include\avr/wdt.h:419:12: error: value '64' out of range for constraint
'I'
: "I" (_SFR_IO_ADDR(_WD_CONTROL_REG)),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avr\include\avr/sfr_defs.h:183:27: note: expanded from macro '_SFR_IO_ADDR'
#define _SFR_IO_ADDR(sfr) (_SFR_MEM_ADDR(sfr) - __SFR_OFFSET)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------
I guess that wdt_enable()/wdt_disable() should have conditional preprocessor
code instead of conditional inline.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?58862>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #58862] avr/wdt.h LLVM11 error for atmega328p,
Kim <=