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

win32: Socket problems #408

Open
sten22 opened this issue Jul 18, 2017 · 2 comments
Open

win32: Socket problems #408

sten22 opened this issue Jul 18, 2017 · 2 comments

Comments

@sten22
Copy link

sten22 commented Jul 18, 2017

cperl 5.26.0 + perl-compiler 5f74704
related issue: #395

Expected output:

c:\apbuild\manual-test>perl -e "use Socket; warn Socket::fake_getaddrinfo()"
nodename nor servname provided, or not known at -e line 1.

Compiled output:

c:\apbuild\manual-test>perlcc --Wc="/Od" -e "use Socket; warn Socket::fake_getad
drinfo()" -r
not exists at C:/apbuild/cperl/lib/Socket.pm line 888.
-e syntax OK
cl : Command line warning D9025 : overriding '/O1' with '/Od'
Constant subroutine AI_CANONIDN redefined, called by a.exe:-1 at a.exe line 4294
967295.
Constant subroutine AI_IDN redefined, called by a.exe:-1 at a.exe line 429496729
5.
Constant subroutine AI_IDN_ALLOW_UNASSIGNED redefined, called by a.exe:-1 at a.e
xe line 4294967295.
Constant subroutine AI_IDN_USE_STD3_ASCII_RULES redefined, called by a.exe:-1 at
 a.exe line 4294967295.
Constant subroutine EAI_BADHINTS redefined, called by a.exe:-1 at a.exe line 429
4967295.
Constant subroutine EAI_PROTOCOL redefined, called by a.exe:-1 at a.exe line 429
4967295.
Constant subroutine EAI_SYSTEM redefined, called by a.exe:-1 at a.exe line 42949
67295.
Constant subroutine NI_IDN redefined, called by a.exe:-1 at a.exe line 429496729
5.
Constant subroutine NI_IDN_ALLOW_UNASSIGNED redefined, called by a.exe:-1 at a.e
xe line 4294967295.
Constant subroutine NI_IDN_USE_STD3_ASCII_RULES redefined, called by a.exe:-1 at
 a.exe line 4294967295.
Your vendor has not defined Socket macro AI_IDN, used at C:/apbuild/cperl/lib/So
cket.pm line 996
@rurban
Copy link
Owner

rurban commented Jul 18, 2017

Can you try with -uSocket?

@sten22
Copy link
Author

sten22 commented Jul 18, 2017

perlcc --Wc="/Od" -e "use Socket; warn Socket::fake_getaddrinfo()" -uSocket -r

same behavior

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

No branches or pull requests

2 participants