It is currently Wed Jan 20, 2021 4:42 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PB 5.0 B8, zlib.lib extrn crc32, reserved symbol error, x64
PostPosted: Sat Nov 03, 2012 7:37 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2005 5:05 pm
Posts: 1769
Location: Norway
Trying to do a ImportC "zlib.lib" fails if trying to import crc32().
AFAIK crc32 is a x64 instruction, so there could be a conflict there.

---------------------------
PureBasic - Assembler error
---------------------------
PureBasic.asm [xxx]:
extrn crc32
error: reserved word used as symbol.

Compiling zlib.lib with the -DZ_PREFIX flag might be one solution.


Top
 Profile  
Reply with quote  
 Post subject: Re: PB 5.0 B8, zlib.lib extrn crc32, reserved symbol error,
PostPosted: Mon Jan 14, 2013 3:33 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14181
Location: France
That's not a PB bug, you can't import a function with the same name than an asm token. If you really need it, you should recompile the zlib with Z_PREFIX and use it.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye