#852 False name collision between overloaded functions

open
nobody
parsing (147)
5
2010-05-26
2007-09-13
No

Give SWIG 1.3.31 this:

void f\(\);
namespace N \{
    void f\(int\);
\}

1>swig.i(60): Error: 'f' is multiply defined in the generated module.
1>swig.i(58): Error: Previous declaration of 'f'

It shouldn't happen since they have different arguments.

Discussion

  • Olly Betts

    Olly Betts - 2010-05-26
    • labels: --> parsing
     
  • Olly Betts

    Olly Betts - 2010-05-26

    Still present with trunk shortly before 2.0.0.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks