[En-Nut-Discussion] prog_char type in uromfs.h

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Jul 25 10:55:03 CEST 2013

>>>>> "Thiago" == Thiago A Corrêa <thiago.correa at gmail.com> writes:

    Thiago> Hi, I'm having a compile issue in uromfs.h in trunk. The
    Thiago> prog_char is being declared in uromfs.h but it's also in
    Thiago> WinAVR's avr/pgmspace.h

    Thiago>     Looking at the logs, Harald removed the definition for
    Thiago> prog_char when GCC is older than 4.6 but Uwe added it
    Thiago> back. Perhaps it's needed for some platforms but not for others?

    Thiago>     If I revert Uwe's changes I'm able to build again. How
    Thiago> should we properly check for it? Should we #ifdef based on CPU?

What AVR gcc and libc do you use?

Maybe we need to differentiate more. I still use gcc version 4.3.3 (GCC) and
avr-libc Version     : 1.8.0

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list