All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Robert Love <rml@tech9.net>
Cc: torvalds@transmeta.com, James.Bottomley@SteelEye.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] __deprecated requires gcc 3.1
Date: Tue, 31 Dec 2002 17:13:38 -0600	[thread overview]
Message-ID: <200212312313.gBVNDdM04070@localhost.localdomain> (raw)
In-Reply-To: Message from Robert Love <rml@tech9.net>  of "31 Dec 2002 17:32:39 EST." <1041373958.1013.9.camel@icbm>

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

Oops, mea culpa on that one.  It's missing a trailing `__' on the end of 
__GNUC_MINOR

James


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain , Size: 452 bytes --]

===== include/linux/compiler.h 1.8 vs edited =====
--- 1.8/include/linux/compiler.h	Sun Dec 29 12:52:54 2002
+++ edited/include/linux/compiler.h	Tue Dec 31 17:12:32 2002
@@ -20,7 +20,7 @@
  * 		int deprecated foo(void)
  * and then gcc will emit a warning for each usage of the function.
  */
-#if __GNUC__ >= 3
+#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
 #define __deprecated	__attribute__((deprecated))
 #else
 #define __deprecated

  reply	other threads:[~2002-12-31 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-31 22:32 [PATCH] __deprecated requires gcc 3.1 Robert Love
2002-12-31 23:13 ` James Bottomley [this message]
2002-12-31 23:44   ` Robert Love

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=200212312313.gBVNDdM04070@localhost.localdomain \
    --to=james.bottomley@steeleye.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@tech9.net \
    --cc=torvalds@transmeta.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.