diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-11-01 19:24:07 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-11-11 18:59:25 +0000 |
commit | 1c34be2d249c661b69d54cf1060278c40301ee79 (patch) | |
tree | c958981211daa39749fbb18021b2b7fe98b620df | |
parent | 7ddd9da1306b7f394c25db8080d9de14ae8b9c58 (diff) | |
download | swig-1c34be2d249c661b69d54cf1060278c40301ee79.tar.gz |
Fix nspace warning message
-rw-r--r-- | Source/Modules/java.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/java.cxx b/Source/Modules/java.cxx index 958da8ed1..444fe02d1 100644 --- a/Source/Modules/java.cxx +++ b/Source/Modules/java.cxx @@ -196,7 +196,7 @@ public: String *name = Getattr(n, "name") ? Getattr(n, "name") : NewString("<unnamed>"); Swig_warning(WARN_JAVA_NSPACE_WITHOUT_PACKAGE, Getfile(n), Getline(n), "The nspace feature is used on '%s' without -package. " - "The generated code may not compile as Java does not support types declared in a named package accessing types declared in an unnamed package.\n", name); + "The generated code may not compile as Java does not support types declared in a named package accessing types declared in an unnamed package.\n", SwigType_namestr(name)); } } |