Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#54 hypen compile as C++, missing casts and variable names

Unstable (example)
closed-accepted
None
5
2013-06-13
2012-05-21
Thomas
No

During integration of hyphen in the NHunspell project (hunspell for .NET) i compile hyphen.c with a c++ compiler. There are a view changes to make this integration more easy. For C++ it is necessary to cast the hnj_malloc() results from void * to the correct type and to rename a local variable "new", because new is a kewyword in C++. This changes affect nothing else, so it should be no problem to integrate them.

I have attached a patch for this changes.

Discussion

  • Thomas
    Thomas
    2012-05-21

    hyphen.c patch

     
    Attachments
    • status: open --> closed-accepted
    • assigned_to: caolan mcnamara
    • Group: --> Unstable (example)