public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/91595] Version (Windows) is not defined in GCC D Compiler
Date: Sun, 21 Mar 2021 13:20:34 +0000	[thread overview]
Message-ID: <bug-91595-4-VQhPCyH3l7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-91595-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91595

--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Brecht Sanders from comment #6)
> The patch for gcc/config/i386/t-cygming added a line:
> winnt-d.o: config/winnt-d.c
> I changed it to:
> winnt-d.o: config/i386/winnt-d.c
> 
> Then I got one step further.
> 
> Output is now:
> libtool: compile:  /R/winlibs64_stage/gcc-10-20210320/build_mingw/./gcc/gdc
> -B/R/winlibs64_stage/gcc-10-20210320/build_mingw/./gcc/
> -L/R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/lib
> -L/R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/mingw/lib -isystem
> /R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/include
> -isystem /R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/mingw/include
> -B/R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/bin/
> -B/R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/lib/
> -isystem
> /R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/include
> -isystem
> /R/winlibs64_stage/inst_gcc-10-20210320/share/gcc/x86_64-w64-mingw32/sys-
> include --sysroot=/R/winlibs64_stage/gcc-10-20210320/build_mingw/mingw-w64
> -DDLL_EXPORT -Wall -frelease -O2 -g -nostdinc -I
> ../../../../libphobos/libdruntime -I . -c
> ../../../../libphobos/libdruntime/core/demangle.d -fversion=Shared -o
> core/.libs/demangle.o
> r:\winlibs64_stage\gcc-10-20210320\libphobos\libdruntime\core\stdc\wchar_.d:
> 134:5: error: undefined identifier 'FILE'
>   134 | int fwprintf(FILE* stream, in wchar_t* format, ...);
>       |     ^

What predefined versions are added by the compiler?

./gcc/d21 -v 2>&1 | grep predefs

  parent reply	other threads:[~2021-03-21 13:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-91595-4@http.gcc.gnu.org/bugzilla/>
2020-03-22  0:08 ` ibuclaw at gdcproject dot org
2020-03-22  0:09 ` ibuclaw at gdcproject dot org
2020-03-22  0:16 ` ibuclaw at gdcproject dot org
2021-03-21  9:56 ` brechtsanders at users dot sourceforge.net
2021-03-21 10:30 ` ibuclaw at gdcproject dot org
2021-03-21 13:11 ` brechtsanders at users dot sourceforge.net
2021-03-21 13:20 ` ibuclaw at gdcproject dot org [this message]
2021-03-21 13:27 ` brechtsanders at users dot sourceforge.net
2021-03-21 13:44 ` ibuclaw at gdcproject dot org
2021-03-21 13:51 ` brechtsanders at users dot sourceforge.net
2021-03-21 14:18 ` ibuclaw at gdcproject dot org
2021-03-26 15:15 ` cvs-commit at gcc dot gnu.org
2021-03-26 15:50 ` ibuclaw at gdcproject dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-91595-4-VQhPCyH3l7@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).