[avr-libc-dev] [bug #22572] Documentation FAQ example proposal

2008-03-12 Thread Lars Jonsson

URL:
  http://savannah.nongnu.org/bugs/?22572

 Summary: Documentation FAQ example proposal
 Project: AVR C Runtime Library
Submitted by: lajon
Submitted on: onsdag 2008-03-12 den 21:50
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Documentation
  Status: None
Percent Complete: 0%
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Attached are two make rules examples that might be added to the How to add a
raw binary image to linker output? faq entry. One is for text to .o
conversion with added NUL terminator. The other could be used for any binary
file. Not sure it is optimal, one problem is the _size symbol that is
generated. It is an absolute symbol hence the define with a cast in the
generated .h file. 





___

File Attachments:


---
Date: onsdag 2008-03-12 den 21:50  Name: makefile  Size: 1 kB   By: lajon

http://savannah.nongnu.org/bugs/download.php?file_id=15251

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?22572

___
  Meddelandet skickades via/av Savannah
  http://savannah.nongnu.org/



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #22163] Everytime ATOMIC_BLOCK(ATOMIC_RESTORESTATE) compiler generates warning - unused variable 'sreg_save'

2008-01-30 Thread Lars Jonsson

Follow-up Comment #2, bug #22163 (project avr-libc):

I have not seen this warning despite having used this macro in several
projects. Are you using C++ Tomasz (I only have C projects)?

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?22163

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #21382] vscanf problem with %s when a width is given

2007-10-22 Thread Lars Jonsson

Follow-up Comment #2, bug #21382 (project avr-libc):

Ok, good that is is known but I don't really get the concept of private
bugs.


___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?21382

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #21382] vscanf problem with %s when a width is given

2007-10-21 Thread Lars Jonsson

URL:
  http://savannah.nongnu.org/bugs/?21382

 Summary: vscanf problem with %s when a width is given
 Project: AVR C Runtime Library
Submitted by: lajon
Submitted on: måndag 2007-10-22 den 00:22
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: libc code
  Status: None
 Privacy: Public
Percent Complete: 0%
 Assigned to: None
Originator Email: [EMAIL PROTECTED]
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Looks like it consumes a character too much during a %s scan when a width is
given. In the example below the ',' can not be matched and res will be 0 (and
foo is not assigned).

#include stdio.h
int parse_test(const char * string)
{  
   volatile char foo = 0;
   int res = sscanf(string, %*6s,%c, foo); 
   printf(%d %c\n, res, foo);
   return res == 1  foo == 'A';
} 

int main(int argc, char **argv)
{
parse_test($GPRMB,A);  
}




___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?21382

___
  Meddelandet skickades via/av Savannah
  http://savannah.nongnu.org/



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev