#154 Arg names to function prototypes conflic

closed-fixed
nobody
5
2013-05-25
2001-09-30
No

Grr. Silly limitied summary lines in sourceforge.

See support/regression/tests/driverstruct.c. Basically in:

struct _FunPointers {
void (*first)(int arg);
void (*second)(int arg);
};

the compile will warn 'Duplicate symbol 'arg'. I think this
also occurs with

void fun(int arg, void (*iterator)(int arg)) { }

Discussion

  • Johan Knol

    Johan Knol - 2001-10-02
    • milestone: --> fixed
    • status: open --> closed-fixed
     
  • Johan Knol

    Johan Knol - 2001-10-02

    Logged In: YES
    user_id=63512

    fixed in SDCC.y:1.42/1.43

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks