#60 CPP-Version: codegen bug for User-Defined FUNCTIONs

GC++ 2.0
closed
None
7
2014-11-24
2014-01-10
No

See expected failure in test [User-Defined FUNCTION with/without parameter] - see run_functions.at (test added in [r167]):

/tmp/cob2337_0.cpp: In function 'cob_field* WITHPAR(cob_field**, int, cob_field*)':
/tmp/cob2337_0.cpp:249: error: invalid conversion from 'void*' to 'cob_func_loc*'
/tmp/cob2337_0.cpp: In function 'cob_field* WITHPAR_(int, unsigned char*)':
/tmp/cob2337_0.cpp:321: error: invalid conversion from 'char*' to 'unsigned char*'
/tmp/cob2337_0.cpp: In function 'cob_field* WITHOUTPAR(cob_field**, int)':
/tmp/cob2337_0.cpp:397: error: invalid conversion from 'void*' to 'cob_func_loc*'
/tmp/cob2337_0.cpp: In function 'cob_field* WITHOUTPAR_(int)':
/tmp/cob2337_0.cpp:466: error: invalid conversion from 'char*' to 'unsigned char*'

Simon

Related

Commit: [r167]

Discussion

  • Simon Sobisch

    Simon Sobisch - 2014-03-07

    Just to add this information:
    Adding -fpermissive to the g++ command line leading g++ to handle these errors as warnings, to do this via cobc add '-A -fpermissive' to it's command line (being a workaround until the codegen bug is fixed)

     
  • Sergey Kashyrin

    Sergey Kashyrin - 2014-11-14

    SVN committed

     
  • Simon Sobisch

    Simon Sobisch - 2014-11-24
    • Group: unclassified --> GC++ 2.0
     
  • Simon Sobisch

    Simon Sobisch - 2014-11-24
    • status: unread --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks