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: LibrarySeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: libc code
Status: Need InfoPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Open
Release: 1.7.1Fixed Release: None

Add a New Comment (Rich MarkupRich 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

/Bingo

(file #25195)

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

Hmm...
'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 <bingo>

 

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

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by arcanum (Posted a comment)
  • -unavailable- added by dmix (Posted a comment)
  • -unavailable- added by bingo (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Nov 2012 06:50:00 PM UTCarcanumPriority5 - Normal=>9 - Immediate
      Assigned toNone=>joerg_wunsch
    Mon 27 Feb 2012 07:07:18 PM UTCbingoAttached File-=>Added sleep.h.patch, #25195
    Mon 16 Jan 2012 11:48:48 AM UTCdmixStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup