WineHQ
Bug Tracking Database – Bug 34190

 Bugzilla

 

Last modified: 2013-11-15 13:39:54 UTC  

number.c could not compile due to "dtoa" naming conflict in Cygwin

Bug 34190 - number.c could not compile due to "dtoa" naming conflict in Cygwin
number.c could not compile due to "dtoa" naming conflict in Cygwin
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: build-env
1.6
x86-64 Windows
: P2 normal
: ---
Assigned To: Mr. Bugs
: patch, source
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-01 21:56 UTC by Jasper Danielson
Modified: 2013-11-15 13:39 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1: 2e752a115ac814fc252af592d01c816b34e96cb0
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasper Danielson 2013-08-01 21:56:07 UTC
dlls/jscript/number.c could not compile on Cygwin (on Windows 7) due to a naming conflict of name "dtoa". Apparently the name "dtoa" was already used in wine/port.h

I was able to fix this issue and compile Wine properly by renaming all instances of "dtoa" and "DTOA" to "dtoaa" and "DTOAA", respectively, in the number.c file.
Comment 1 Ken Sharp 2013-08-03 10:56:29 UTC
Confirming.
Comment 2 Ken Sharp 2013-08-03 10:59:52 UTC
..except it's not defined in Wine's port.h it's inherited and defined in Cygwin's stdlib.h

http://forum.winehq.org/viewtopic.php?f=2&t=19501
Comment 5 Jasper Danielson 2013-08-15 13:47:30 UTC
The number.c file now compiles with no problems, thank you.
Comment 6 Alexandre Julliard 2013-08-30 13:05:20 UTC
Closing bugs fixed in 1.7.1.
Comment 7 Alexandre Julliard 2013-11-15 13:39:54 UTC
Removing 1.6.x milestone from bugs included in 1.6.1.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers