Hi,
I've upgrade FreeBasic 1.05.0 to 1.06.0 and i can't compil my project.
More "undefined reference" to external "C" functions (compiled with GPP for dos) in my libs (cpclib.a)
Why this new update cause this ? What are modifications ?
Best regards,
Sebastien FAVIER
Fb upgrade problems
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: Fb upgrade problems
Is it a custom .bi file?
I think the problem is caused by this changelog item:
I think the problem is caused by this changelog item:
Maybe the function parameters just need changing from [Unsigned] Long to Integer.Version 1.06.0
[changed]
- Name mangling of Integer/Long parameters was reversed on 32bit to match 64bit, so the same FB and C++ code will be compatible on both 32bit and 64bit. Integer is mangled as C++ long (except on Win64), Long is mangled as C++ int.
Re: Fb upgrade problems
Oops sorry for my late reply!
I've renommed all "integer" to "long" and "uinteger" to "ulong" in my custom bi --> c++ file, I can compile, so this works !
Thank you ;)
I've renommed all "integer" to "long" and "uinteger" to "ulong" in my custom bi --> c++ file, I can compile, so this works !
Thank you ;)