URL:
  <http://savannah.nongnu.org/bugs/?19009>

                 Summary: Make <util/delay.h> issue a warning when
optimizations are turned off
                 Project: AVR C Runtime Library
            Submitted by: joerg_wunsch
            Submitted on: Friday 02/09/2007 at 11:35
                Category: Header
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Many users attempt to use the inline functions from <util/delay.h>
but forget to enable optimizations in the compiler, leading to
bloated floating-point calculations being performed in the
target AVR rather than the compiler.

Have that header file issue a warning in that case, based on
GCC's __OPTIMIZE__ macro.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19009>

_______________________________________________
  Message sent via/by 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