printf () flag for long long conversion???

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

Hi,

Does AVR-GCC support the "long long" argument for the printf () function family? If so what is the conversion flag, sorry but i can't find it.

KK

Assumptio mater errorum est

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

Sorry, none yet. The problem is that long long will cause another
bump in the code bloat, so far I hesitated to add it. We'd probably
have to invent even more printf (and eventually scanf) options if we
want to support that, like:

  • base version (up to 32-bit integer & string + field widths and stuff)
  • reduced version (no field width & extras)
  • fp version (all of #1 + floating point)
  • long long version (all of #1 + long long)
  • long long fp version (all of #4 + floating point)

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.