Deutsch   English   Français   Italiano  
<slrnvliu70.gtu.JKB@hilbert.systella.fr>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!usenet.ovh!news.usenet.ovh!.POSTED!not-for-mail
From: JKB <JKB@hilbert.invalid>
Newsgroups: fr.comp.lang.c
Subject: Re: [repost] Re: gcc/linux => mingw/windows/cygwin
Date: Wed, 11 Dec 2024 11:34:56 -0000 (UTC)
Organization: NUO - News.Usenet.Ovh
Message-ID: <slrnvliu70.gtu.JKB@hilbert.systella.fr>
References: <slrnvk92t9.360.JKB@hilbert.systella.fr>
 <vj878o$2p1b$1@cabale.usenet-fr.net>
Reply-To: <jkb@invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 11 Dec 2024 11:34:56 -0000 (UTC)
Injection-Info: news.usenet.ovh; posting-account="bejo";
	logging-data="3421865"; mail-complaints-to="abuse@usenet.ovh"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha256:aYS/YD+Yak6k0KOlpiBqxaOA6z3gWNL+aXIfrU5FVFw=
Bytes: 2458
Lines: 47

Le 10-12-2024, Olivier Miakinen <om+news@miakinen.net> a écrit :
> [au cas où il y aurait eu une perte de ma réponse sur ton serveur, je la remets]

	Oui, merci, je n'avais pas vu la première réponse.

> Bonjour,
>
> Le 25/11/2024 15:37, JKB a écrit :
>> 	[...]
>> 
>>                  U __imp_CyUartClearDtr
>>                  U __imp_CyUartClearRts
>> 				 U __imp_CyUartSetDtr
>> 				 U __imp_CyUartSetHwFlowControl
>> 				 U __imp_CyUartSetRts
>
> Ça semble en effet être une microsofterie, apparemment liée à l'utilisation
> de bibliothèques de liens dynamiques (DLL).
>
> Par exemple je trouve ceci en faisant une recherche sur « prefix __imp_ » :
>
><https://stackoverflow.com/questions/5159353/how-can-i-get-rid-of-the-imp-prefix-in-the-linker-in-vc>
>
><cit.>
> The __imp__ prefix appears whenever you are linking to a DLL. It does not appear
> when linking to statically linked libraries. Most likely the code is generated
> to be linked against a DLL import lib, but you have linked it with a static lib
> instead.
>
> The prefix is added when you mark the imported function with
> __declspec(dllimport) - make sure your imports are not using this when not
> linking against a DLL.
></cit.>
>
>
> Voir peut-être aussi :
><https://mingw-users.narkive.com/gITSyJLh/some-questions-on-imp-prefix-and-other-linking-problems>
>

	Je vais creuser.

	Bien cordialement,

	JKB

-- 
Si votre demande me parvient en code 29, je vous titiouillerai volontiers
une réponse.