D.gnu - version(Windows)
- Marjancek (7/7) Nov 03 2006 I'm having a hard time trying to compile with gdc. I make use of
- Downs (7/16) Nov 27 2006 I have encountered the same problem. This seems to be the fault of gdc,
- David Friedman (5/24) Dec 04 2006 Are you using Cygwin? Enabling version(Windows) or version(Win32) would...
- Downs (5/33) Dec 06 2006 I'm using MinGW32 GDC against GCC 4.0.3, built from SVN.
- David Friedman (7/45) Dec 06 2006 Both Win32 and Windows are supposed to be enabled for MinGW32. Can you
- Downs (10/61) Dec 06 2006 I don't seem to have that folder. Temporary confusion ensues.
I'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.
Nov 03 2006
Marjancek wrote:I'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.I have encountered the same problem. This seems to be the fault of gdc, which should probably set version=Windows, not only version=Win32, as it does now (or at least allow us to set -fversion=Windows by ourselves). In the meantime, an "acceptable" fix is to change all occurences of version(Windows) in the header files to version(Win32). Ugly, but there you go.
Nov 27 2006
Downs wrote:Marjancek wrote:Are you using Cygwin? Enabling version(Windows) or version(Win32) would cause a binary incompatibility with Phobos. I am thinking it would be better to just remove the restrictions from the Windows headers. DavidI'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.I have encountered the same problem. This seems to be the fault of gdc, which should probably set version=Windows, not only version=Win32, as it does now (or at least allow us to set -fversion=Windows by ourselves). In the meantime, an "acceptable" fix is to change all occurences of version(Windows) in the header files to version(Win32). Ugly, but there you go.
Dec 04 2006
David Friedman schrieb:Downs wrote:I'm using MinGW32 GDC against GCC 4.0.3, built from SVN. I made a version which has "Windows" removed from the list of protected identifiers. So far, it seems to do the job. :happy: GreetingsMarjancek wrote:Are you using Cygwin? Enabling version(Windows) or version(Win32) would cause a binary incompatibility with Phobos. I am thinking it would be better to just remove the restrictions from the Windows headers. DavidI'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.I have encountered the same problem. This seems to be the fault of gdc, which should probably set version=Windows, not only version=Win32, as it does now (or at least allow us to set -fversion=Windows by ourselves). In the meantime, an "acceptable" fix is to change all occurences of version(Windows) in the header files to version(Win32). Ugly, but there you go.
Dec 06 2006
Downs wrote:David Friedman schrieb:Both Win32 and Windows are supposed to be enabled for MinGW32. Can you send me the contents of <gdc prefix>/include/d/4.0.3/mingw32/phobos-ver-syms (The 'mingw32' dir may be something like 'i686-pc-cygwin'.) Thanks, DavidDowns wrote:I'm using MinGW32 GDC against GCC 4.0.3, built from SVN. I made a version which has "Windows" removed from the list of protected identifiers. So far, it seems to do the job. :happy: GreetingsMarjancek wrote:Are you using Cygwin? Enabling version(Windows) or version(Win32) would cause a binary incompatibility with Phobos. I am thinking it would be better to just remove the restrictions from the Windows headers. DavidI'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.I have encountered the same problem. This seems to be the fault of gdc, which should probably set version=Windows, not only version=Win32, as it does now (or at least allow us to set -fversion=Windows by ourselves). In the meantime, an "acceptable" fix is to change all occurences of version(Windows) in the header files to version(Win32). Ugly, but there you go.
Dec 06 2006
David Friedman schrieb:Downs wrote:I don't seem to have that folder. Temporary confusion ensues. There is, however, an include/d/4.0.3/i686-pc-mingw32/phobos-ver-syms, so I'll append that instead. It consists of Windows [some empty lines] GNU_Have_fwide GNU_Have_strtold [some empty lines] Hope that helps.David Friedman schrieb:Both Win32 and Windows are supposed to be enabled for MinGW32. Can you send me the contents of <gdc prefix>/include/d/4.0.3/mingw32/phobos-ver-syms (The 'mingw32' dir may be something like 'i686-pc-cygwin'.) Thanks, DavidDowns wrote:I'm using MinGW32 GDC against GCC 4.0.3, built from SVN. I made a version which has "Windows" removed from the list of protected identifiers. So far, it seems to do the job. :happy: GreetingsMarjancek wrote:Are you using Cygwin? Enabling version(Windows) or version(Win32) would cause a binary incompatibility with Phobos. I am thinking it would be better to just remove the restrictions from the Windows headers. DavidI'm having a hard time trying to compile with gdc. I make use of windows functions from std.path, but it seams that the version is not set to Windows, and so I get an ugly assert(0) from path.d. I've tried using -fversion=Windows, but then I get an error that this is a reserved word. Any ideas? Thanks, Mariano.I have encountered the same problem. This seems to be the fault of gdc, which should probably set version=Windows, not only version=Win32, as it does now (or at least allow us to set -fversion=Windows by ourselves). In the meantime, an "acceptable" fix is to change all occurences of version(Windows) in the header files to version(Win32). Ugly, but there you go.
Dec 06 2006