public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
To: "Alan Z. Liu" <liuzr@uiuc.edu>
Cc: gcc-help@gcc.gnu.org
Subject: Re: compliation error after installing gcc-2.95.2
Date: Fri, 03 Mar 2000 12:19:00 -0000	[thread overview]
Message-ID: <m29000gcuq.fsf@localhost.localdomain> (raw)
In-Reply-To: <p04310107b4e57def9d95@[128.174.27.108]>

On Mar  3, 2000, "Alan Z. Liu" <liuzr@uiuc.edu> wrote:

> Yes, that's all the error message.  Here is again an exact copy of the error I got with a test program:

> /usr/include/sys/time.h:337: `extern' can only be specified for objects and functions

This line was missing in the previous post.

> Actually if I don't have the #include <stdlib.h>, some programs will
> compile fine.  Then some programs that use function "atof" will
> complain.

> Looks like some incompatibility between g++'s stdlib.h and the
> system's 'time.h'?

Could be, if g++ had its own stdlib.h :-)

All it has is a fixed version of HP-UX's stdlib.h.  Could it be that
something went wrong while fixinc was running, during the build
process?  Could you please post the preprocessed version of your code
snippet, for us to try to figure out what's going wrong with it?
See http://www.gnu.org/software/gcc/bugs.html

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

WARNING: multiple messages have this Message-ID
From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
To: "Alan Z. Liu" <liuzr@uiuc.edu>
Cc: gcc-help@gcc.gnu.org
Subject: Re: compliation error after installing gcc-2.95.2
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <m29000gcuq.fsf@localhost.localdomain> (raw)
Message-ID: <20000401000000.LbSD_dt2Fbb_b0Dxysw2PjnSelQsLrYROzULuhm225w@z> (raw)
In-Reply-To: <p04310107b4e57def9d95@[128.174.27.108]>

On Mar  3, 2000, "Alan Z. Liu" <liuzr@uiuc.edu> wrote:

> Yes, that's all the error message.  Here is again an exact copy of the error I got with a test program:

> /usr/include/sys/time.h:337: `extern' can only be specified for objects and functions

This line was missing in the previous post.

> Actually if I don't have the #include <stdlib.h>, some programs will
> compile fine.  Then some programs that use function "atof" will
> complain.

> Looks like some incompatibility between g++'s stdlib.h and the
> system's 'time.h'?

Could be, if g++ had its own stdlib.h :-)

All it has is a fixed version of HP-UX's stdlib.h.  Could it be that
something went wrong while fixinc was running, during the build
process?  Could you please post the preprocessed version of your code
snippet, for us to try to figure out what's going wrong with it?
See http://www.gnu.org/software/gcc/bugs.html

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaraná
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

  reply	other threads:[~2000-03-03 12:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-02 15:21 liuzr
2000-03-02 23:12 ` Alexandre Oliva
2000-03-03  6:54   ` Alan Z. Liu
2000-03-03 12:19     ` Alexandre Oliva [this message]
2000-03-03 12:39       ` Alan Z. Liu
2000-03-03 16:37         ` Alexandre Oliva
2000-04-01  0:00           ` Alexandre Oliva
2000-04-01  0:00         ` Alan Z. Liu
2000-04-01  0:00       ` Alexandre Oliva
2000-04-01  0:00     ` Alan Z. Liu
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` liuzr

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=m29000gcuq.fsf@localhost.localdomain \
    --to=oliva@lsd.ic.unicamp.br \
    --cc=gcc-help@gcc.gnu.org \
    --cc=liuzr@uiuc.edu \
    /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).