[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Converting from IAR to avr-gcc
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] Converting from IAR to avr-gcc |
Date: |
Sun, 24 Aug 2003 10:18:37 +0200 (MET DST) |
As Gregory Berardi <address@hidden> wrote:
>float AdjFZSP(float SP);
>
>I get and error of;
>
>parse error before '(' token
>
>Can't I have a return type float?
Sure you can (and it's the same size as "double", btw.).
Could you have some preprocessing problem with it? It helps to pass
the entire code through the preprocessor only (using the -E option to
the compiler), and lookup that spot again in the preprocessor output.
I've often found nasty preprocessing problems that way.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/