public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Hoyle <tmh@magenta-netlogic.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: J Sloan <jjs@pobox.com>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: tdfx.o and -test13
Date: Sun, 31 Dec 2000 23:40:22 +0000	[thread overview]
Message-ID: <3A4FC3E6.47ECDA64@magenta-netlogic.com> (raw)
In-Reply-To: <E14CrTQ-0000BD-00@the-village.bc.nu>

Alan Cox wrote:
> 
> I see modversions.h being included properly on the command line

Me too..

make[3]: Entering directory `/usr/src/linux/drivers/char/drm'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o agpsupport.o
agpsupport.c
In file included from agpsupport.c:1:
/usr/src/linux/include/linux/modversions.h:3: warning: ignoring pragma:
"Modversions included

Modversions *is* being included... putting a message into the header
file shows it to be correctly included at compile time.  However by the
time the C file is processed it the symbols it has defined appear to no
longer exist.  When you put the patch into drmP.h it never re-includes
modversions (the pragma is not hit, because _LINUX_MODVERSIONS_H is
already defined) *but* the macros within it suddenly become active.

I'm confused!

Preprocessor bug?  Demon possessed compiler?

Tony (still coding at 20 minutes to midnight --- sad or what?)

-- 
Can't think of a decent signature...

tmh@magenta-netlogic.com		http://www.nothing-on.tv
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-01  0:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-31  0:45 tdfx.o and -test13 J Sloan
2000-12-31  1:05 ` Alan Cox
2000-12-31  1:07   ` Frank Jacobberger
2000-12-31 15:22   ` Tony Hoyle
2000-12-31 22:37     ` Tony Hoyle
2000-12-31 22:43       ` Alan Cox
2000-12-31 22:49         ` Tony Hoyle
2000-12-31 23:01           ` Alan Cox
2000-12-31 23:40             ` Tony Hoyle [this message]
2001-01-01  0:11               ` Frank Jacobberger

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=3A4FC3E6.47ECDA64@magenta-netlogic.com \
    --to=tmh@magenta-netlogic.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jjs@pobox.com \
    --cc=linux-kernel@vger.kernel.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