I am not sure if this is a standard C++ thing, a linux thing, or a gcc
specific thing. Hope you don't mind me starting here. This define or
macro or whatever it is appears in some code I am working on and my
compiler doesn't seem able to find its definition. I can't blame it,
because I can't find it either. Does anyone have any ideas on how this
is supposed to be defined and where? 3 2875
brekehan wrote:
I am not sure if this is a standard C++ thing, a linux thing, or a gcc
specific thing. Hope you don't mind me starting here. This define or
macro or whatever it is appears in some code I am working on and my
compiler doesn't seem able to find its definition. I can't blame it,
because I can't find it either. Does anyone have any ideas on how this
is supposed to be defined and where?
Start by trying to add
#define __DEPRECATED
(basically making it defined, but resolving into an empty string).
See if it works. If it does, leave it in (although be aware that
it's a reserved identifier, and you're not supposed to use it, but
hey, if it works, who cares, right? ;-))
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
On 2007-08-30 21:00, brekehan wrote:
I am not sure if this is a standard C++ thing, a linux thing, or a gcc
specific thing. Hope you don't mind me starting here. This define or
macro or whatever it is appears in some code I am working on and my
compiler doesn't seem able to find its definition. I can't blame it,
because I can't find it either. Does anyone have any ideas on how this
is supposed to be defined and where?
It's not standard, and probably not part of gcc, my guess would be that
it's something local to your code. I would guess that the idea is that
if you try to compile any code that uses a function marked with the
macro a warning or error will be given.
--
Erik Wikström
Erik Wikström wrote:
On 2007-08-30 21:00, brekehan wrote:
>I am not sure if this is a standard C++ thing, a linux thing, or a gcc specific thing. Hope you don't mind me starting here. This define or macro or whatever it is appears in some code I am working on and my compiler doesn't seem able to find its definition. I can't blame it, because I can't find it either. Does anyone have any ideas on how this is supposed to be defined and where?
It's not standard, and probably not part of gcc, my guess would be that
it's something local to your code. I would guess that the idea is that
if you try to compile any code that uses a function marked with the
macro a warning or error will be given.
The new visual studio uses it. Vomits forth warnings if that code is
called. Annoyingly they have much of the standard library thus labeled
rendering the entire thing totally pointless (you have to shut it off to
use the compiler). This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Uwe Mayer |
last post by:
Hi,
Why is the UserDict module is deprecated after Python 2.2. The application
of it I have in mind is, i.e. multiple inheritance from "file" and "dic" -
which is not possible.
If I used...
|
by: gf gf |
last post by:
I read that lower() is deprecated. Unfortunately, I
can't find the preferred way of lowercasing a string.
What is it?
Thanks
PS Please cc me on all responses.
|
by: puzzled |
last post by:
Okay, so my subject sounds a bit crass. As much as I'd like to
totally embrace css and avoid "deprecated" usage, sometimes the
deprecated stuff is so much easier and more effective. Plus, it at...
|
by: Lieven |
last post by:
I'm trying to use is_sorted.
When I do #include<algo.h>, I get:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated...
|
by: Matt Parkins |
last post by:
Hi,
(I realise this probably isn't precisely the right group for this - could
someone direct me to the appropriate group to post this question? - thanks
!)
I'm using Visual C++ 2005 Express...
|
by: Robert |
last post by:
Hi,
Currently I am using
argument.callee.caller.arguments
to get the arguments of the caller function, but Firefox complains that
arguments (of Function) is deprecated.
Is there a way to get...
|
by: Marcus |
last post by:
We all know that the "gets" function from the Standard C Library (which
is part of the Standard C++ Library) is dangerous. It provides no
bounds check, so it's easy to overwrite memory when using...
|
by: Ben Rush |
last post by:
When I compile my solution I get the following output -
NET 2003\Vc7\atlmfc\include\atlwin.h(2027) : warning C4995:
'wsprintf': name was marked as #pragma deprecated
C:\Program Files\Microsoft...
|
by: Tony |
last post by:
At http://www.quirksmode.org/js/placejs.html
I found a discussion on how & where to place your javascript.
Toward the bottom of the page, PPK has a section titled Deprecated:
Direct JavaScripts,...
|
by: Scirious |
last post by:
People, how many deprecated methods have really been removed and no longer
exists?
TIA,
Scirious.
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |