test with -liconv #2

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

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

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

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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 15, 2015

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

  • Changed state: Fixed

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