Documenation of __attribute__ [SOLVED]

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have found, that in newer versions of GCC using noreturn for main causes a warning, while OS_main does not.

I did look in Help - avr-libc reference manual and downloaded the avr-libc-user-manual-1.6.5.pdf, because The documents list a few attributes, for sure not all (e.g. OS_main,...)

Finally I found some information here: http://www.mail-archive.com/avr-gcc-list@nongnu.org/msg03812.html

Exists any documentation that lists and explains the attributes?

Using: WinAVR-20090313

Thanks!

/Martin.

Last Edited: Wed. Sep 23, 2009 - 08:37 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks a lot, Cliff - I was googling for "AVR GCC attribute", which did not list this site.

/Martin.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Note, that you have the gcc documentation (relevant to your version of gcc) included with WinAVR, in the [WinAVR]/doc subdirectory.

It is worth browsing through this all subdirectory - you might be surprised how much useful stuff is there.

JW