bugAVR C Runtime Library - Bugs: bug #35198, sleep.h missing include of...


bug #35198: sleep.h missing include of avr/sfr_defs.h

Submitted by:  Bingo <bingo>
Submitted on:  Fri 30 Dec 2011 10:08:56 AM UTC  
Category:  Library Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  libc code
Status:  Need Info Assigned to:  Joerg Wunsch <joerg_wunsch>
Percent Complete:  0% Open/Closed:  Open
Release:  1.7.1 Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 16 Nov 2012 06:50:00 PM UTC, comment #3: 

Joerg, you seem to know the history surrounding this bug....

Assigned to you.

Eric Weddington <arcanum>
Project Administrator
Mon 27 Feb 2012 07:07:18 PM UTC, comment #2: 

Well as <avr/io.h> is included sfr_defs.h would be also.
I didn't check as Jörg sait it was a but that it wasn't included

But i was bitten by the __BV bug in avr/sleep.h  (90S8515 section)

Attached is a patch


(file #25195)

Bingo <bingo>
Mon 16 Jan 2012 11:48:48 AM UTC, comment #1: 

'avr/sleep.h' includes 'avr/io.h'.
The last includes 'avr/sfr_defs.h'.
IMHO, all is correct.

Dmitry Xmelkov <dmix>
Project Administrator
Fri 30 Dec 2011 10:08:56 AM UTC, original submission:  

sleep.h missing include of <avr/sfr_defs.h>

As per Jörg's request , this is filed as a bug report.
See http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=580767#580767


Bingo <bingo>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #25195:  sleep.h.patch added by bingo (377B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by arcanum (Posted a comment)
  • -email is unavailable- added by dmix (Posted a comment)
  • -email is unavailable- added by bingo (Submitted the item)



    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-11-16 arcanum Priority5 - Normal => 9 - Immediate
        Assigned toNone => joerg_wunsch
    2012-02-27 bingo Attached File- => Added sleep.h.patch, #25195
    2012-01-16 dmix StatusNone => Need Info

    Back to the top

    Powered by Savane 3.6