develooper Front page | perl.perl5.porters | Postings from March 2000

PostgreSQL and embedded perl 5.6 RC2

Thread Next
From:
David R. Favor
Date:
March 21, 2000 06:15
Subject:
PostgreSQL and embedded perl 5.6 RC2
Message ID:
38D7840C.C4C70ECD@austin.ibm.com
When attempting to build plperl the following errors occur:

   "plperl.c", line 360.40: 1506-280 (W) Function argument assignment between types
      "void(*)(struct perl_thread*,struct cv*)" and "void(*)(struct cv*)" is not allowed.
   "plperl.c", line 361.36: 1506-280 (W) Function argument assignment between types
      "void(*)(struct perl_thread*,struct cv*)" and "void(*)(struct cv*)" is not allowed.
   "plperl.c", line 362.33: 1506-280 (W) Function argument assignment between types
      "void(*)(struct perl_thread*,struct cv*)" and "void(*)(struct cv*)" is not allowed.

The code is:

   extern void boot_DynaLoader (CV* cv);
   extern void boot_Opcode (CV* cv);
   extern void boot_SPI (CV* cv);

   static void plperl_init_shared_libs()
   {
        char *file = __FILE__;
        newXS("DynaLoader::bootstrap", boot_DynaLoader, file);
        newXS("Opcode::bootstrap", boot_Opcode, file);
        newXS("SPI::bootstrap", boot_SPI, file);
   }

Perhaps this will go away when the dTHX/dTHR issues is resolved.

Anyone?

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About