discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc warning (_OBJC_INSTANCE_2 defined ...)


From: Helge Hess
Subject: Re: gcc warning (_OBJC_INSTANCE_2 defined ...)
Date: Fri, 7 Jul 2006 16:29:27 +0200

On Jul 7, 2006, at 16:29, Jason Clouse wrote:
On 2006-07-07 10:06:37 -0400 Helge Hess <helge.hess@opengroupware.org> wrote:
Hi,

when compiling OGo with GCC 4.1 I get such warnings:
---snip---
helge@senator:~/dev/OGo-1.1/WebUI/OGoFoundation> make -s debug=yes all
Making all for library libOGoFoundation...
Compiling file OWPasteboard.m ...
OWPasteboard.m:152: warning: ‘_OBJC_INSTANCE_2’ defined but not used
OWPasteboard.m:157: warning: ‘_OBJC_INSTANCE_3’ defined but not used
---snap---

Does someone know what it means?

The compiler creates ObjC constant strings but doesn't have the smarts to realize when they're used. It doesn't hurt anything--it just annoys you. :-)

Is it possible to disable the warning? :-)

BTW: I noticed that adding -O triggers that. W/o optimization the warning is not shown.

Greets,
  Helge
--
Helge Hess
http://docs.opengroupware.org/Members/helge/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]