This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44002] need to #include unistd.h for pid_t on alpha-dec-vms
- From: "jayk123 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Jul 2017 07:31:45 +0000
- Subject: [Bug target/44002] need to #include unistd.h for pid_t on alpha-dec-vms
- Auto-submitted: auto-generated
- References: <bug-44002-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44002
--- Comment #2 from jayk123 at hotmail dot com ---
The ifndef pid_t makes it a little unconvincing. I'll see if I can find my
alpha-dec-vms sysroot -- and resume trying to get this target working -- I had
gotten as far as building the canadian cross, copying it to the system, and it
wouldn't run because I didn't have the environment variables correct.
Thank you,
- Jay
From: egallager at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Sent: Friday, July 21, 2017 5:09 PM
To: jay.krell@cornell.edu
Subject: [Bug target/44002] need to #include unistd.h for pid_t on
alpha-dec-vms
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44002
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
Component|bootstrap |target
Summary|need to #include unistd.h |need to #include unistd.h
|for pid_t |for pid_t on alpha-dec-vms
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
The <sys/types.h> include directly above should have gotten it; that's where
the pid_t typedef is for me, at least. Assuming this is a target-specific
issue.