🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #217868

Re: undefined reference to __asan przy kompilacja pugixml w Win10

#217868
From: Mateusz Viste
Date: Wed, 16 Nov 2022 19:40
14 lines
1304 bytes
2022-11-16 o 16:40 +0100, Jivanmukta napisał:
> Przy próbie kompilacji w Win10 biblioteki pugixml do pugixml.obj mam
> błędy: undefined reference to `__asan.........
> Mój program w C++ używa tej biblioteki. Pod Linuxem nie mam tych 
> komunikatów.

Strzelam: asan_xxxx to funkcje odwołujące się do biblioteki
AddressSanitizer, a ty tej biblioteki nie masz?

Szybko googlając wyszukiwarka podpowiada też:
"AddressSanitizer is a part of LLVM starting with version 3.1 and a
part of GCC starting with version 4.8"

Mateusz
Technical Details
Message-ID: <tl3eao$k4v$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.samoylyk.net!aioe.org!xVfaAYnW1Uimsb6QZpGQeg.user.46.165.242.75.POSTED!not-for-mail
References: <tl33pf$3ad1$1@portraits.wsisiz.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!news.samoylyk.net!aioe.org!xVfaAYnW1Uimsb6QZpGQeg.user.46.165.242.75.POSTED!not-for-mail
From: Mateusz Viste <mateusz@xyz.invalid>
Newsgroups: pl.comp.programming
Subject: Re: undefined reference to __asan przy kompilacja pugixml w Win10
Date: Wed, 16 Nov 2022 20:40:08 +0100
Organization: . . .
Message-ID: <tl3eao$k4v$1@gioia.aioe.org>
References: <tl33pf$3ad1$1@portraits.wsisiz.edu.pl>
Mime-Version: 1.0
Injection-Info: gioia.aioe.org; logging-data="20639"; posting-host="xVfaAYnW1Uimsb6QZpGQeg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit