From: Mathieu M. <mat...@gm...> - 2008-10-13 12:23:03
|
Hi there, I am trying to use the -namespace in swig/csharp. when it generates code, it is generated like this: (1) ... namespace gdcm { using System; using System.Runtime.InteropServices; ... while I would have expected something like: (2) ... using System; using System.Runtime.InteropServices; namespace gdcm { ... With (1) I am getting: [Task:File=/home/test/mono/testgdcm2/testgdcm2/ApplicationEntity.cs, Line=11, Column=1, Type=Error, Priority=Normal, Description=`System' is a type not a namespace. A using namespace directive can only be applied to namespaces(CS0138)] full source can be found at: https://sourceforge.net/projects/gdcm Is there something obvious I am missing ? Thanks ! -- Mathieu ref: debian linux, swig 1.3.33 |