URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15574>

                 Summary: unneeded compatibility break
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Mo 30.01.2006 um 13:38
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Percent Complete: 0%
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open

    _______________________________________________________

Details:

Not a real bug, just an "improvement-request". I understand that SIGNAL and
INTERRUPT are now depracated. But the new header-files break old code
(compile-time-error) in a way that could be avoided: There is old code (at
least I've done some code like this) where just SIGNAL is used in
"device-driver"-modules. There has been no need for sei or cli in this
source-files so only <avr/signal.h> gets included (no interrupt.h) which
worked with older releases of avr-libc. Now signal.h does "nothing" but print
a #warning. This breaks the compatibility and could be avoided if signal.h
would also include interrupt.h.

Martin Thomas




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
mthomas --AT-- rhrk --PUNKT-- uni-kl --PUNKT-- de | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15574>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to