[OpenIndiana-discuss] weird C++ problem

Apostolos Syropoulos asyropoulos at yahoo.com
Tue Apr 2 11:08:52 UTC 2013


Hello,

I have tried the following "trick"


> 
> #include <string.h>
> namespace KPS {
>   extern "C" {
>      #include <kpathsea/kpathsea.h>
>   }
> }
> 


and it worked. I will try it once more just to be on
the safe side. Obviously, I really appreciate your
help and your solution!

 
> 
> Really, the right answer is to teach kpathsea.h how to be parsed by a
> modern C++ compiler, and not to try to kludge around it in some other
> random application with a brutal namespace hack.  It's 2013, right?
> 

I will pass you answer to the people who are responsible for this code.

Regards,

Apostolos


----------------------
Apostolos Syropoulos
Xanthi, Greece




More information about the OpenIndiana-discuss mailing list