Code Monkey home page Code Monkey logo

libiconv's People

Contributors

cmb69 avatar jan-e avatar shivammathur avatar weltling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libiconv's Issues

C++ build issue

Building C++ projects with iconv.h is broken at the moment.

source/include/iconv.h around lines 70-72 has a new
#ifdef __cplusplus
extern "C" {
#endif

but is missing the corresponding closing brace for C++ at line 98:
#ifdef __cplusplus
}
#endif

import libraries aren't created (MSVC15)

First of all:
Thanks for this. You've saved me (and many others I'm sure) a lot of time and headache.

I just have a quick question:
I've noticed that no import libraries (iconv*.lib) are produced when building the DLL.
Is this by design?
I only tried the VC2015 solution as this is the only IDE I use.

If not, I could help you make the solutions produce import libraries as well.
Also, it would be cool if you could bump up the platform toolchain for the VC2015 solution as well.
And a visual studio project file for the application (iconv.exe) would be nice as well. 😄

Again, I can help out with these (requests) if needed.

Thanks again and have a nice day

VS16 libiconv_a.lib P1 P2 mismatch

@weltling @cmb69
Yesterday I updated my VS16 to version 16.2.0. This update removed the 14.21.27702 compiler version and replaces it by 14.22.27905. On my systems it retained the previous 14.20.27508 compiler version, because I had selected 'C++/CLI support for v142 build tools (14.20). after the update to VS16 version 16.1

Building PHP extensions with a link.exe that is too new is not recommended:
https://www.apachelounge.com/viewtopic.php?p=38260#38260

So, I decided to compile PHP 7.4 with the 14.20 build tools. Then I ran into this error:

libiconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with /GL found; restarting
link with /LTCG; add /LTCG to the link command line to improve linker performance
fatal error C1900: Il mismatch between 'P1' version '20181108' and 'P2' version '20181107'
LINK : fatal error LNK1257: code generation failed
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\
VC\Tools\MSVC\14.20.27508\bin\HostX64\x64\link.exe"' : return code '0x4e9'

I had to recompile libiconv_a.lib to get this running. For the recompilation I used the 14.20 build tools.

VS16 libiconv_a.lib P1 P2 mismatch with php8

@cmb69 I tried the v142 14.20~14.28 build tools referring to #9, but all of them output the same error below.

libiconv_a.lib(iconv1.obj) : MSIL .netmodule または /GL を伴ってコンパイルされたモジュールが見つかりました。/LTCG を使用して再開始してください。リンカーのパフォーマンスを向上させるためには、コマンドラインに /LTCG を追加してください。
fatal error C1900: 'P1' Version '20200803''P2' Version '20190715' が一致しません。
LINK : fatal error LNK1257: コードの生成に失敗しました。
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX64\x64\link.exe"' : リターン コード '0x4e9'
Stop.

ubuntu下build 失败

lib/aliases.gperf:134: error: ‘__int32’ undeclared here (not in a function)
In file included from ./iconv.c:459:

MSVC 11 compile error

With master, the following error is thrown (using /MSVC11/libiconv.sln):

error C2632: 'int' followed by 'int' is illegal	
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\wchar.h	
line#1202

Not sure what has changed here recently, as the MSVC11 build was working fine before.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.