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

test with -liconv #2

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Closed

test with -liconv #2

GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install iconv.
2. Compile win_iconv_test.c with -liconv:
i686-pc-mingw32-gcc win_iconv_test.c -liconv



What is the expected output? What do you see instead?

I expect the test file to compile. But the file does not compile, unless 
win_iconv.c is in the same path. It seems that the file is intended to work 
just with iconv.h, yet a few minor bugs prevent this.



What version of the product are you using? On what operating system?

0.0.1, Fedora MinGW cross compiling.



Please provide any additional information below.

Possible patch attached. After applying, both

i686-pc-mingw32-gcc win_iconv_test.c -DUSE_LIBICONV_DLL

and

i686-pc-mingw32-gcc win_iconv_test.c -liconv

work.

Original issue reported on code.google.com by amorilia...@gmail.com on 28 Dec 2010 at 12:50

Attachments:

@GoogleCodeExporter
Copy link
Author

Thank you for your report.
I just added USE_ICONV_H flag to compile with -liconv.
Please check revesion 12.

Original comment by yukihiro...@gmail.com on 13 Jan 2011 at 12:51

@GoogleCodeExporter
Copy link
Author

Original comment by yukihiro...@gmail.com on 7 May 2011 at 7:51

  • Changed state: Fixed

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