Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The problem with Perl___notused under C++ is that in some cases it's merely extern, and in some cases (via the XS macro via the XSPROTO macro) it's extern "C". Object code analysis shows that you do actually get one mangled and one unmangled version of the symbol, which wouldn't matter since the whole point is to have something we never use. Except that one very picky C++ compiler (HP C++ for OpenVMS) sees what we're up to and slaps us down hard. Since declaration after statement has always been allowed in C++, just go ahead and do a real noop statement for C++ and avoid the use of an external symbol.
- Loading branch information