The MASM Forum

Projects => Poasm => Pelle's C compiler and tools => Topic started by: morgot on May 29, 2025, 01:04:18 AM

Title: float error
Post by: morgot on May 29, 2025, 01:04:18 AM
I have this linker error  Unresolved external symbol '__fltused'
with using float numbers.

How to fix?

I use "no default place" option of linker..
Title: Re: float error
Post by: TimoVJL on May 29, 2025, 03:11:30 AM
add crt.lib/crt64.lib to linker's commandline, if some math function depends from it.
-nodefaultlib option rejects -defaultlib:crt.lib from object file .drectve section.

With pope.exe is possible to check symbols from object files.
With crt and map file might give used symbols too.
Title: Re: float error
Post by: jj2007 on May 29, 2025, 11:28:39 PM
Not a new problem (https://masm32.com/board/index.php?topic=8944.0). There are also ten entries for fltused in the forum search.