CC: | Chris.Phillips [...] csiro.au |
Subject: | "PGPLOT::HANDLE" used only once: |
Recent versions of perl (I am not sure, but I see this on Debian Etch
and OSX Snow Leopard) give a warning each time perl is run:
Name "PGPLOT::HANDLE" used only once: possible typo at
/System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm
line 230.
The following patch seems to fix:
1435c1435
< sv_setiv(perl_get_sv("PGPLOT::HANDLE",TRUE|GV_ADDMULTI), (IV)
(void*) &myPGPLOT_handle);
---
Show quoted text
> sv_setiv(perl_get_sv("PGPLOT::HANDLE",TRUE), (IV) (void*)
&myPGPLOT_handle);