Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: [BUG DBI 1.13 and perl 5.005_60 vaguely unhappy together] #445

Closed
p5pRT opened this issue Aug 26, 1999 · 2 comments
Closed

Re: [BUG DBI 1.13 and perl 5.005_60 vaguely unhappy together] #445

p5pRT opened this issue Aug 26, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 26, 1999

Migrated from rt.perl.org#1286 (status was 'resolved')

Searchable as RT1286$

@p5pRT
Copy link
Author

p5pRT commented Aug 26, 1999

From @gsar

Some compilers (e.g. Borland) emit a "unused type" warning when you declare
a typedef and don't use it.

Perl.c​: In function `XS_DBD__Perl__dr_discon_all_'​:
Perl.c​:32​: warning​: unused variable `Perl___notused'

I recall the extern is much safer, because there are compilers
out there that would croak with a "duplicate typedef" when they
see​:

  dNOOP; /* say from dTHR; */
  dNOOP; /* say from dTHX; */

Feel free to send a patch for the specific compiler in question,
unless someone can think of some other way to get a dNOOP without
these problems.

Sarathy
gsar@​activestate.com

@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From [Unknown Contact. See original ticket]

dupe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant