"Fossies" - the Fresh Open Source Software Archive

Member "swig-4.1.1/Doc/Manual/Warnings.html" (30 Nov 2022, 22307 Bytes) of package /linux/misc/swig-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2 <html>
    3 <head>
    4 <title>Warning Messages</title>
    5 <link rel="stylesheet" type="text/css" href="style.css">
    6 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    7 </head>
    8 
    9 <body bgcolor="#ffffff">
   10 <H1><a name="Warnings">19 Warning Messages</a></H1>
   11 <!-- INDEX -->
   12 <div class="sectiontoc">
   13 <ul>
   14 <li><a href="#Warnings_nn2">Introduction</a>
   15 <li><a href="#Warnings_suppression">Warning message suppression</a>
   16 <li><a href="#Warnings_nn4">Enabling extra warnings</a>
   17 <li><a href="#Warnings_nn5">Issuing a warning message</a>
   18 <li><a href="#Warnings_symbolic_symbols">Symbolic symbols</a>
   19 <li><a href="#Warnings_nn6">Commentary</a>
   20 <li><a href="#Warnings_nn7">Warnings as errors</a>
   21 <li><a href="#Warnings_nn8">Message output format</a>
   22 <li><a href="#Warnings_nn9">Warning number reference</a>
   23 <ul>
   24 <li><a href="#Warnings_nn10">Deprecated features (100-199)</a>
   25 <li><a href="#Warnings_nn11">Preprocessor (200-299)</a>
   26 <li><a href="#Warnings_nn12">C/C++ Parser (300-399)</a>
   27 <li><a href="#Warnings_nn13">Types and typemaps (400-499) </a>
   28 <li><a href="#Warnings_nn14">Code generation (500-559)</a>
   29 <li><a href="#Warnings_doxygen">Doxygen comments (560-599)</a>
   30 <li><a href="#Warnings_nn15">Language module specific (700-899) </a>
   31 <li><a href="#Warnings_nn16">User defined (900-999)</a>
   32 </ul>
   33 <li><a href="#Warnings_nn17">History</a>
   34 </ul>
   35 </div>
   36 <!-- INDEX -->
   37 
   38 
   39 
   40 <H2><a name="Warnings_nn2">19.1 Introduction</a></H2>
   41 
   42 
   43 <p>
   44 During compilation, SWIG may generate a variety of warning messages.  For example:
   45 </p>
   46 
   47 <div class="shell">
   48 <pre>
   49 example.i:16: Warning 501: Overloaded declaration ignored.  bar(double)
   50 example.i:15: Warning 501: Previous declaration is bar(int)
   51 </pre>
   52 </div>
   53 
   54 <p>
   55 Typically, warning messages indicate non-fatal problems with the input
   56 where the generated wrapper code will probably compile, but it may not
   57 work like you expect.
   58 </p>
   59 
   60 <H2><a name="Warnings_suppression">19.2 Warning message suppression</a></H2>
   61 
   62 
   63 <p>
   64 All warning messages have a numeric code that is shown in the warning message itself.
   65 To suppress the printing of a warning message, a number of techniques can be used.
   66 First, you can run SWIG with the <tt>-w</tt> command line option. For example:
   67 </p>
   68 
   69 <div class="shell">
   70 <pre>
   71 % swig -python -w501 example.i
   72 % swig -python -w501,505,401 example.i
   73 </pre>
   74 </div>
   75 
   76 <p>
   77 Alternatively, warnings can be suppressed by inserting a special preprocessor pragma
   78 into the input file:
   79 </p>
   80 
   81 <div class="code">
   82 <pre>
   83 %module example
   84 #pragma SWIG nowarn=501
   85 #pragma SWIG nowarn=501,505,401
   86 </pre>
   87 </div>
   88 
   89 <p>
   90 Finally, code-generation warnings can be disabled on a declaration by declaration basis using
   91 the <tt>%warnfilter</tt> directive.  For example:
   92 </p>
   93 
   94 <div class="code">
   95 <pre>
   96 %module example
   97 %warnfilter(501) foo;
   98 ...
   99 int foo(int);
  100 int foo(double);              // Silently ignored.
  101 </pre>
  102 </div>
  103 
  104 <p>
  105 The <tt>%warnfilter</tt> directive has the same semantics as other declaration modifiers like 
  106 <tt>%rename</tt>, <tt>%ignore</tt> and <tt>%feature</tt>, see the 
  107 <a href="Customization.html#Customization_features">%feature directive</a> section.  For example, if you wanted to
  108 suppress a warning for a method in a class hierarchy, you could do this:
  109 </p>
  110 
  111 <div class="code">
  112 <pre>
  113 %warnfilter(501) Object::foo;
  114 class Object {
  115 public:
  116   int foo(int);
  117   int foo(double);      // Silently ignored
  118   ...
  119 };
  120 
  121 class Derived : public Object {
  122 public:
  123   int foo(int);
  124   int foo(double);      // Silently ignored
  125   ...
  126 };
  127 </pre>
  128 </div>
  129 
  130 <p>
  131 Warnings can be suppressed for an entire class by supplying a class name.  For example:
  132 </p>
  133 
  134 <div class="code">
  135 <pre>
  136 %warnfilter(501) Object;
  137 
  138 class Object {
  139 public:
  140   ...                      // All 501 warnings ignored in class
  141 };
  142 </pre>
  143 </div>
  144 
  145 <p>
  146 There is no option to suppress all SWIG warning messages.  The warning messages are there
  147 for a reason---to tell you that something may be <em>broken</em> in
  148 your interface.  Ignore the warning messages at your own peril.
  149 </p>
  150 
  151 
  152 <H2><a name="Warnings_nn4">19.3 Enabling extra warnings</a></H2>
  153 
  154 
  155 <p>
  156 Some warning messages are disabled by default and are generated only
  157 to provide additional diagnostics.  These warnings can be turned on using the
  158 <tt>-Wextra</tt> option. For example:
  159 </p>
  160 
  161 <div class="shell">
  162 <pre>
  163 % swig -Wextra -python example.i
  164 </pre>
  165 </div>
  166 
  167 <p>
  168 Preprocessor warning 202 ("Could not evaluate expression <em>expr</em>.") was
  169 formally off by default and enabled by <tt>-Wextra</tt>, but since SWIG 4.1.0
  170 this warning is on by default because suppressing it tends to hide genuine
  171 problems.  If you really don't want to see it, you can suppress it with
  172 <tt>-w202</tt> or using <tt>%warnfilter</tt> as described below. Both will work
  173 with older versions of SWIG too.
  174 </p>
  175 
  176 <p>
  177 To selectively turn on extra warning messages, you can use the directives and options in the
  178 previous section--simply add a "+" to all warning numbers.  For example:
  179 </p>
  180 
  181 <div class="shell">
  182 <pre>
  183 % swig -w+309,+452 example.i
  184 </pre>
  185 </div>
  186 
  187 <p>
  188 or in your interface file use either
  189 </p>
  190 
  191 <div class="code">
  192 <pre>
  193 #pragma SWIG nowarn=+309,+452
  194 </pre>
  195 </div>
  196 
  197 <p>
  198 or
  199 </p>
  200 
  201 <div class="code">
  202 <pre>
  203 %warnfilter(+309,+452) foo;
  204 </pre>
  205 </div>
  206 
  207 <p>
  208 Note: selective enabling of warnings with <tt>%warnfilter</tt> overrides any global settings you might have
  209 made using <tt>-w</tt> or <tt>#pragma</tt>.
  210 </p>
  211 
  212 <p>
  213 You can of course also enable all warnings and suppress a select few, for example:
  214 </p>
  215 
  216 <div class="shell">
  217 <pre>
  218 % swig -Wextra -w309,452 example.i
  219 </pre>
  220 </div>
  221 
  222 <p>
  223 The warnings on the right take precedence over the warnings on the left, so in the above example <tt>-Wextra</tt> adds numerous warnings including 452, but then <tt>-w309,452</tt> overrides this and so 452 is suppressed.
  224 </p>
  225 
  226 <p>
  227 If you would like all warnings to appear, regardless of the warning filters used, then use the <tt>-Wall</tt> option.
  228 The <tt>-Wall</tt> option also turns on the extra warnings that <tt>-Wextra</tt> adds, however, it is subtely different. 
  229 When <tt>-Wall</tt> is used, it also disables all other warning filters, 
  230 that is, any warnings suppressed or added in <tt>%warnfilter</tt>, <tt>#pragma SWIG nowarn</tt> 
  231 or the <tt>-w</tt> option.
  232 </p>
  233 
  234 <H2><a name="Warnings_nn5">19.4 Issuing a warning message</a></H2>
  235 
  236 
  237 <p>
  238 Warning messages can be issued from an interface file using a number of directives.  The
  239 <tt>%warn</tt> directive is the most simple:
  240 </p>
  241 
  242 <div class="code">
  243 <pre>
  244 %warn "900:This is your last warning!"
  245 </pre>
  246 </div>
  247 
  248 <p>
  249 All warning messages are optionally prefixed by the warning number to use.  If you are generating
  250 your own warnings, make sure you don't use numbers defined in the table at the end of this section.
  251 </p>
  252 
  253 <p>
  254 The <tt>%ignorewarn</tt> directive is the same as <tt>%ignore</tt> except that it issues a
  255 warning message whenever a matching declaration is found. For example:
  256 </p>
  257 
  258 <div class="code">
  259 <pre>
  260 %ignorewarn("362:operator= ignored") operator=;
  261 </pre>
  262 </div>
  263 
  264 <p>
  265 Warning messages can be associated with typemaps using the
  266 <tt>warning</tt> attribute of a typemap declaration. For example:
  267 </p>
  268 
  269 <div class="code">
  270 <pre>
  271 %typemap(in, warning="901:You are really going to regret this usage of $1_type $1_name") blah * {
  272   ...
  273 }
  274 </pre>
  275 </div>
  276 
  277 <p>
  278 In this case, the warning message will be printed whenever the typemap is actually used and the <a href="Typemaps.html#Typemaps_special_variables">special variables</a> will be expanded as appropriate, for example:
  279 </p>
  280 
  281 <div class="shell">
  282 <pre>
  283 example.i:23: Warning 901: You are really going to regret this usage of blah * self
  284 example.i:24: Warning 901: You are really going to regret this usage of blah * stuff
  285 </pre>
  286 </div>
  287 
  288 <H2><a name="Warnings_symbolic_symbols">19.5 Symbolic symbols</a></H2>
  289 
  290 
  291 <p>
  292 The <tt>swigwarn.swg</tt> file that is installed with SWIG contains symbol constants that could also be
  293 used in <tt>%warnfilter</tt> and <tt>#pragma SWIG nowarn</tt>.
  294 For example this file contains the following line:
  295 </p>
  296 
  297 <div class="code">
  298 <pre>
  299 %define SWIGWARN_TYPE_UNDEFINED_CLASS 401 %enddef
  300 </pre>
  301 </div>
  302 
  303 <p>
  304 so <tt>SWIGWARN_TYPE_UNDEFINED_CLASS</tt> could be used instead of 401, for example:
  305 </p>
  306 
  307 <div class="code">
  308 <pre>
  309 #pragma SWIG nowarn=SWIGWARN_TYPE_UNDEFINED_CLASS
  310 </pre>
  311 </div>
  312 
  313 <p>
  314 or 
  315 </p>
  316 
  317 <div class="code">
  318 <pre>
  319 %warnfilter(SWIGWARN_TYPE_UNDEFINED_CLASS) Foo;
  320 </pre>
  321 </div>
  322 
  323 <H2><a name="Warnings_nn6">19.6 Commentary</a></H2>
  324 
  325 
  326 <p>
  327 The ability to suppress warning messages is really only provided for
  328 advanced users and is not recommended in normal use.  You are advised
  329 to modify your interface to fix the problems highlighted by the warnings
  330 wherever possible instead of suppressing warnings.
  331 </p>
  332 
  333 <p>
  334 Certain types of SWIG problems are errors.  These usually arise due to
  335 parsing errors (bad syntax) or semantic problems for which there is
  336 no obvious recovery.  There is no mechanism for suppressing error
  337 messages.
  338 </p>
  339 
  340 <H2><a name="Warnings_nn7">19.7 Warnings as errors</a></H2>
  341 
  342 
  343 <p>
  344 Warnings can be handled as errors by using the <tt>-Werror</tt> command line
  345 option. This will cause SWIG to exit with a non successful exit code if a
  346 warning is encountered.
  347 </p>
  348 
  349 <H2><a name="Warnings_nn8">19.8 Message output format</a></H2>
  350 
  351 
  352 <p>
  353 The output format for both warnings and errors can be selected for
  354 integration with your favourite IDE/editor. Editors and IDEs can usually parse 
  355 error messages and if in the appropriate format will easily take you 
  356 directly to the source of the error. The standard format is used by 
  357 default except on Windows where the Microsoft format is used by default.
  358 These can be overridden using command line options, for example:
  359 </p>
  360 
  361 <div class="shell"><pre>
  362 $ swig -python -Fstandard example.i
  363 example.i:4: Syntax error in input(1).
  364 $ swig -python -Fmicrosoft example.i
  365 example.i(4) : Syntax error in input(1).
  366 </pre></div>
  367 
  368 <H2><a name="Warnings_nn9">19.9 Warning number reference</a></H2>
  369 
  370 
  371 <H3><a name="Warnings_nn10">19.9.1 Deprecated features (100-199)</a></H3>
  372 
  373 
  374 <ul>
  375 <li>101. Deprecated <tt>%extern</tt> directive.
  376 <li>102. Deprecated <tt>%val</tt> directive.
  377 <li>103. Deprecated <tt>%out</tt> directive.
  378 <li>104. Deprecated <tt>%disabledoc</tt> directive.
  379 <li>105. Deprecated <tt>%enabledoc</tt> directive.
  380 <li>106. Deprecated <tt>%doconly</tt> directive.
  381 <li>107. Deprecated <tt>%style</tt> directive.
  382 <li>108. Deprecated <tt>%localstyle</tt> directive.
  383 <li>109. Deprecated <tt>%title</tt> directive.
  384 <li>110. Deprecated <tt>%section</tt> directive.
  385 <li>111. Deprecated <tt>%subsection</tt> directive.
  386 <li>112. Deprecated <tt>%subsubsection</tt> directive.
  387 <li>113. Deprecated <tt>%addmethods</tt> directive.
  388 <li>114. Deprecated <tt>%readonly</tt> directive.
  389 <li>115. Deprecated <tt>%readwrite</tt> directive.
  390 <li>116. Deprecated <tt>%except</tt> directive.
  391 <li>117. Deprecated <tt>%new</tt> directive.
  392 <li>118. Deprecated <tt>%typemap(except)</tt>.
  393 <li>119. Deprecated <tt>%typemap(ignore)</tt>.
  394 <li>120. Deprecated command line option (-runtime, -noruntime).
  395 <li>121. Deprecated <tt>%name</tt> directive.
  396 <li>126. The 'nestedworkaround' feature is deprecated.
  397 </ul>
  398 
  399 <H3><a name="Warnings_nn11">19.9.2 Preprocessor (200-299)</a></H3>
  400 
  401 
  402 <ul>
  403 <li>201. Unable to find <em>filename</em>.
  404 <li>202. Could not evaluate expression <em>expr</em>.
  405 <li>203. Both includeall and importall are defined: using includeall.
  406 <li>204. CPP #warning, "<em>warning</em>".
  407 <li>205. CPP #error, "<em>error</em>".
  408 <li>206. Unexpected tokens after #<em>directive</em> directive.
  409 </ul>
  410 
  411 <H3><a name="Warnings_nn12">19.9.3 C/C++ Parser (300-399)</a></H3>
  412 
  413 
  414 <ul>
  415 <li>301. <tt>class</tt> keyword used, but not in C++ mode.
  416 <li>302. Identifier '<em>name</em>' redefined (ignored).
  417 <li>303. <tt>%extend</tt> defined for an undeclared class '<em>name</em>'.
  418 <li>304. Unsupported constant value (ignored).
  419 <li>305. Bad constant value (ignored).
  420 <li>306. '<em>identifier</em>' is private in this context.
  421 <li>307. Can't set default argument value (ignored)
  422 <li>308. Namespace alias '<em>name</em>' not allowed here. Assuming '<em>name</em>'
  423 <li>309. [private | protected] inheritance ignored.
  424 <li>310. Template '<em>name</em>' was already wrapped as '<em>name</em>' (ignored)
  425 <li>312. Unnamed nested class not currently supported (ignored).
  426 <li>313. Unrecognized extern type "<em>name</em>" (ignored).
  427 <li>314. '<em>identifier</em>' is a <em>lang</em> keyword.
  428 <li>315. Nothing known about '<em>identifier</em>'.
  429 <li>316. Repeated %module directive.
  430 <li>317. Specialization of non-template '<em>name</em>'.
  431 <li>318. Instantiation of template '<em>name</em>' is ambiguous, instantiation <em>templ</em> used, instantiation <em>templ</em> ignored.
  432 <li>319. No access specifier given for base class <em>name</em> (ignored).
  433 <li>320. Explicit template instantiation ignored.
  434 <li>321. <em>identifier</em> conflicts with a built-in name.
  435 <li>322. Redundant redeclaration of '<em>name</em>'.
  436 <li>323. Recursive scope inheritance of '<em>name</em>'.
  437 <li>324. Named nested template instantiations not supported. Processing as if no name was given to %template().
  438 <li>325. Nested <em>kind</em> not currently supported (<em>name</em> ignored).
  439 <li>326. Deprecated %extend name used - the <em>kind</em> name '<em>name</em>' should be used instead of the typedef name '<em>name</em>'.
  440 <li>327. Extern template ignored.
  441 <li>350. operator new ignored.
  442 <li>351. operator delete ignored.
  443 <li>352. operator+ ignored.
  444 <li>353. operator- ignored.
  445 <li>354. operator* ignored.
  446 <li>355. operator/ ignored.
  447 <li>356. operator% ignored.
  448 <li>357. operator^ ignored.
  449 <li>358. operator&amp; ignored.
  450 <li>359. operator| ignored.
  451 <li>360. operator~ ignored.
  452 <li>361. operator! ignored.
  453 <li>362. operator= ignored.
  454 <li>363. operator&lt; ignored.
  455 <li>364. operator&gt; ignored.
  456 <li>365. operator+= ignored.
  457 <li>366. operator-= ignored.
  458 <li>367. operator*= ignored.
  459 <li>368. operator/= ignored.
  460 <li>369. operator%= ignored.
  461 <li>370. operator^= ignored.
  462 <li>371. operator&amp;= ignored.
  463 <li>372. operator|= ignored.
  464 <li>373. operator&lt;&lt; ignored.
  465 <li>374. operator&gt;&gt;ignored.
  466 <li>375. operator&lt;&lt;= ignored.
  467 <li>376. operator&gt;&gt;= ignored.
  468 <li>377. operator== ignored.
  469 <li>378. operator!= ignored.
  470 <li>379. operator&lt;= ignored.
  471 <li>380. operator&gt;= ignored.
  472 <li>381. operator&amp;&amp; ignored.
  473 <li>382. operator|| ignored.
  474 <li>383. operator++ ignored.
  475 <li>384. operator-- ignored.
  476 <li>385. operator, ignored.
  477 <li>386. operator-&lt;* ignored.
  478 <li>387. operator-&lt; ignored.
  479 <li>388. operator() ignored.
  480 <li>389. operator[] ignored.
  481 <li>390. operator+ ignored (unary).
  482 <li>391. operator- ignored (unary).
  483 <li>392. operator* ignored (unary).
  484 <li>393. operator&amp; ignored (unary).
  485 <li>394. operator new[] ignored.
  486 <li>395. operator delete[] ignored.
  487 </ul>
  488 
  489 <H3><a name="Warnings_nn13">19.9.4 Types and typemaps (400-499) </a></H3>
  490 
  491 
  492 <ul>
  493 <li>401. Nothing known about class 'name'. Ignored.
  494 <li>402. Base class 'name' is incomplete.
  495 <li>403. Class 'name' might be abstract.
  496 <li>450. Reserved
  497 <li>451. Setting const char * variable may leak memory.
  498 <li>452. Reserved
  499 <li>453. Can't apply (pattern). No typemaps are defined.
  500 <li>460. Unable to use type <em>type</em> as a function argument.
  501 <li>461. Unable to use return type <em>type</em> in function <em>name</em>.
  502 <li>462. Unable to set variable of type <em>type</em>.
  503 <li>463. Unable to read variable of type <em>type</em>.
  504 <li>464. Unsupported constant value.
  505 <li>465. Unable to handle type <em>type</em>.
  506 <li>466. Unsupported variable type <em>type</em>.
  507 <li>467. Overloaded <em>declaration</em> not supported (incomplete type checking rule - no precedence level in typecheck typemap for '<em>type</em>')
  508 <li>468. No 'throw' typemap defined for exception type <em>type</em>
  509 <li>469. No or improper directorin typemap defined for <em>type</em>
  510 <li>470. Thread/reentrant unsafe wrapping, consider returning by value instead.
  511 <li>471. Unable to use return type <em>type</em> in director method
  512 <li>474. Method <em>method</em> usage of the optimal attribute ignored in the out typemap as the following cannot be used to generate optimal code: <em>code</em>
  513 <li>475. Multiple calls to <em>method</em> might be generated due to optimal attribute usage in the out typemap.
  514 <li>476. Initialization using std::initializer_list.
  515 <li>477. No directorthrows typemap defined for <em>type</em>
  516 </ul>
  517 
  518 
  519 
  520 <H3><a name="Warnings_nn14">19.9.5 Code generation (500-559)</a></H3>
  521 
  522 
  523 <ul>
  524 <li>501. Overloaded declaration ignored. <em>decl</em>. Previous declaration is <em>decl</em>.
  525 <li>502. Overloaded constructor ignored. <em>decl</em>. Previous declaration is <em>decl</em>.
  526 <li>503. Can't wrap '<em>identifier</em>' unless renamed to a valid identifier.
  527 <li>504. Function <em>name</em> must have a return type. Ignored.
  528 <li>505. Variable length arguments discarded.
  529 <li>506. Can't wrap varargs with keyword arguments enabled.
  530 <li>507. Adding native function <em>name</em> not supported (ignored).
  531 <li>508. Declaration of '<em>name</em>' shadows declaration accessible via operator-&gt;(), previous declaration of'<em>declaration</em>'.
  532 <li>509. Overloaded method <em>declaration</em> effectively ignored, as it is shadowed by <em>declaration</em>.
  533 <li>510. Friend function '<em>name</em>' ignored.
  534 <li>511. Can't use keyword arguments with overloaded functions.
  535 <li>512. Overloaded method <em>declaration</em> ignored, using non-const method <em>declaration</em> instead.
  536 <li>513. Can't generate wrappers for unnamed struct/class.
  537 <li>514. 
  538 <li>515. 
  539 <li>516. Overloaded method <em>declaration</em> ignored, using <em>declaration</em> instead.
  540 <li>517. 
  541 <li>518. Portability warning: File <em>file1</em> will be overwritten by <em>file2</em> on case insensitive filesystems such as Windows' FAT32 and NTFS unless the class/module name is renamed.
  542 <li>519. %template() contains no name. Template method ignored: <em>declaration</em>
  543 <li>520. <em>Base/Derived</em> class '<em>classname1</em>' of '<em>classname2</em>' is not similarly marked as a smart pointer.
  544 <li>521. Illegal destructor name <em>name</em>. Ignored.
  545 <li>522. Use of an illegal constructor name '<em>name</em>' in %extend is deprecated, the constructor name should be '<em>name</em>'.
  546 <li>523. Use of an illegal destructor name '<em>name</em>' in %extend is deprecated, the destructor name should be '<em>name</em>'.
  547 <li>524. Experimental target language. Target language <em>language</em> specified by <em>lang</em> is an experimental language. Please read about SWIG experimental languages, <em>htmllink</em>.
  548 <li>525. Destructor <em>declaration</em> is final, <em>name</em> cannot be a director class.
  549 <li>526. Using declaration <em>declaration</em>, with name '<em>name</em>', is not actually using the method from <em>declaration</em>, with name '<em>name</em>', as the names are different.
  550 </ul>
  551 
  552 <H3><a name="Warnings_doxygen">19.9.6 Doxygen comments (560-599)</a></H3>
  553 
  554 
  555 <ul>
  556   <li>560: Unknown Doxygen command: <em>command</em>.</li>
  557   <li>561: Unexpected end of Doxygen comment encountered.</li>
  558   <li>562: Expected Doxygen command: <em>command</em></li>
  559   <li>563: Doxygen HTML error for tag <em>tag</em>: <em>error text</em>.</li>
  560   <li>564: Error parsing Doxygen command <em>command</em>: <em>error text</em>. Command ignored."</li>
  561 </ul>
  562 
  563 <H3><a name="Warnings_nn15">19.9.7 Language module specific (700-899) </a></H3>
  564 
  565 
  566 <ul>
  567 <li>801. Wrong name (corrected to '<em>name</em>').  (Ruby).
  568 </ul>
  569 
  570 <ul>
  571 <li>810. No jni typemap defined for <em>type</em>  (Java).
  572 <li>811. No jtype typemap defined for <em>type</em>  (Java).
  573 <li>812. No jstype typemap defined for <em>type</em>  (Java).
  574 <li>813. Warning for <em>classname</em>, base <em>baseclass</em> ignored. Multiple inheritance is not supported in Java.   (Java).
  575 <li>814. 
  576 <li>815. No javafinalize typemap defined for <em>type</em>  (Java).
  577 <li>816. No javabody typemap defined for <em>type</em>  (Java).
  578 <li>817. No javaout typemap defined for <em>type</em>  (Java).
  579 <li>818. No javain typemap defined for <em>type</em>  (Java).
  580 <li>819. No javadirectorin typemap defined for <em>type</em>  (Java).
  581 <li>820. No javadirectorout typemap defined for <em>type</em>  (Java).
  582 <li>821. 
  583 <li>822. Covariant return types not supported in Java. Proxy method will return <em>basetype</em>  (Java).
  584 <li>823. No javaconstruct typemap defined for <em>type</em>  (Java).
  585 <li>824. Missing JNI descriptor in directorin typemap defined for <em>type</em> (Java).
  586 <li>825. "directorconnect" attribute missing in <em>type</em> "javaconstruct" typemap. (Java).
  587 <li>826. The nspace feature is used on '<em>type</em>' 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. (Java).
  588 </ul>
  589 
  590 <ul>
  591 <li>830. No ctype typemap defined for <em>type</em>  (C#).
  592 <li>831. No cstype typemap defined for <em>type</em>  (C#).
  593 <li>832. No cswtype typemap defined for <em>type</em>  (C#).
  594 <li>833. Warning for <em>classname</em>, base <em>baseclass</em> ignored. Multiple inheritance is not supported in C#.   (C#).
  595 <li>834. 
  596 <li>835. No csfinalize typemap defined for <em>type</em>  (C#).
  597 <li>836. No csbody typemap defined for <em>type</em>  (C#).
  598 <li>837. No csout typemap defined for <em>type</em>  (C#).
  599 <li>838. No csin typemap defined for <em>type</em>  (C#).
  600 <li>839. 
  601 <li>840. 
  602 <li>841. 
  603 <li>842. Covariant return types not supported in C#. Proxy method will return <em>basetype</em>  (C#).
  604 <li>843. No csconstruct typemap defined for <em>type</em>  (C#).
  605 <li>844. C# exception may not be thrown - no $excode or excode attribute in <em>typemap</em> typemap. (C#).
  606 <li>845. Unmanaged code contains a call to a SWIG_CSharpSetPendingException method and C# code does not handle pending exceptions via the canthrow attribute. (C#).
  607 </ul>
  608 
  609 <ul>
  610 <li>870. Warning for <em>classname</em>: Base <em>baseclass</em> ignored. Multiple inheritance is not supported in PHP.   (Php).
  611 <li>871. Unrecognized pragma <em>pragma</em>.   (Php).
  612 </ul>
  613 
  614 <H3><a name="Warnings_nn16">19.9.8 User defined (900-999)</a></H3>
  615 
  616 
  617 <p>
  618 These numbers can be used by your own application.
  619 </p>
  620 
  621 <H2><a name="Warnings_nn17">19.10 History</a></H2>
  622 
  623 
  624 <p>
  625 The ability to control warning messages was first added to SWIG-1.3.12.
  626 </p>
  627 
  628 </body>
  629 </html>