#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

     
  • caolan mcnamara

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

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

Sign up for the SourceForge newsletter:





No, thanks