g++ -c $INCLUDES ActualPEResult. cpp
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from
/home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap
i/src/Aggregate.h:17,
from Aggregator.h:11 ,
from Calculator.h:11 ,
from CalculatorResul t.h:21,
from PEResult.h:19,
from ActualPEResult. cpp:16:
/usr/include/c++/3.2.2/backward/backward_warnin g.h:32:2: warning:
#warning This file inclu
des at least one deprecated or antiquated header. Please consider
using one of the 32 head
ers found in section 17.4.1.2 of the C++ standard. Examples include
substituting the <X> h
eader for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header
<strstream.h> . To disable this warning use -Wno-deprecated.
In file included from /usr/include/c++/3.2.2/iosfwd:45,
from /usr/include/c++/3.2.2/ios:44,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from /usr/include/c++/3.2.2/backward/iostream.h:32,
from
/home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap
i/src/Aggregate.h:17,
from Aggregator.h:11 ,
from Calculator.h:11 ,
from CalculatorResul t.h:21,
from PEResult.h:19,
from ActualPEResult. cpp:16:
/usr/include/c++/3.2.2/bits/stringfwd.h:48: parse error before `>'
token
/usr/include/c++/3.2.2/bits/stringfwd.h:54: parse error before `,'
token
/usr/include/c++/3.2.2/bits/stringfwd.h:58: `char_traits' is not a
template
/usr/include/c++/3.2.2/bits/stringfwd.h:60: syntax error before `;'
token
/usr/include/c++/3.2.2/bits/stringfwd.h:63: `char_traits' is not a
template
/usr/include/c++/3.2.2/bits/stringfwd.h:65: syntax error before `;'
token
/usr/include/c++/3.2.2/cstddef:51: confused by earlier errors, bailing
out
#ifndef ACTUALPERESULT_ H
#define ACTUALPERESULT_ H
static char sccsid_ActualPE Result_h[] = "@(#) $Id: ActualPEResult. h,v
2.0 1999/03/31 21:17
:03 dcpy2k Exp $";
#ifndef CALCULATORRESUL T_H
#include "CalculatorResu lt.h"
#endif
class DCActualPEResul t: public DCCalculatorRes ult
{
public:
DCActualPEResul t(): DCCalculatorRes ult() {}
virtual ~DCActualPEResu lt() { }
// OVERLOAD PURE VIRTUAL FUNCTIONS
// Take the results from the calculator
// and place into the proper fields in DCResults.
virtual void commitResults(D CResults
&target,
DCAggregateCont roller &c
ontrol,
const int
row);
thanks
Nitin 2 2992
"nitin" <ni***********@ yahoo.com> wrote... g++ -c $INCLUDES ActualPEResult. cpp In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from /home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap i/src/Aggregate.h:17, from Aggregator.h:11 , from Calculator.h:11 , from CalculatorResul t.h:21, from PEResult.h:19, from ActualPEResult. cpp:16: /usr/include/c++/3.2.2/backward/backward_warnin g.h:32:2: warning: #warning This file inclu des at least one deprecated or antiquated header. Please consider using one of the 32 head ers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> h eader for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h> . To disable this warning use -Wno-deprecated.
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Are you reading what your compiler is telling you? Have you
tried disabling that warning? Did it work?
Besides, to do it right, find what file tries to use those
deprecated headers and why, and then get rid of them.
Victor
"nitin" <ni***********@ yahoo.com> wrote in message news:db******** *************** **@posting.goog le.com... g++ -c $INCLUDES ActualPEResult. cpp In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from /home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap i/src/Aggregate.h:17,
Fix Aggregate.h and everywhere else to not use iostream.h or other prestandard
headers (iostream not iostream.h), just as it tells you in the warning. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sonny |
last post by:
I need to port a library that is written entirely in C to C++. The
library is supported on quite a few platforms (windows, Solaris,
Linux, AIX, HP-UX, OSX, etc...) and there's quite an existing customer
base that uses it. I need to maintain backwards compatibility such
that existing users won't have to do anything to their existing
applications other than a re-compile when they upgrade to this new
version of the library. I figure that I...
|
by: Ryan Liu |
last post by:
Hi,
You know there is no getpassphrase in Linux platform.
Now I want to rewrite this function in Linux. But I don't how to not display
my input char from screen.
Would you like to give me some suggestion?
thanks in advance.
Ryan
|
by: Ganesh Tiwari |
last post by:
i want to write a program, which works much like ldd command, which
goes throgh c/c++ binary on solaris/SPARC and check whether it is
possible to port it on to linux/intel. How do i do this? what are
the parameters to look for in binaries for porting. Any guide lines
in this direction would be world of good to me. Please reply to this
fast, i am running out of time.
|
by: Lionel van den Berg |
last post by:
Hi all,
I'm having a problem porting from qt2.x to qt3.x. I have posted on a qt
forum but no joy as yet so I thought that maybe someone here could shed
some more light on what the compiler is doing. I have copied and pasted
my other post below.
*****
I'm just trying to compile some older code that used the qt libraries
but had a make file manually written for it and was being used on an
|
by: Steph L |
last post by:
Hi,
A given Milter program compiles ok on OpenBSD/FreeBSD/Linux but not on
Solaris : it uses daemon(3)
http://www.openbsd.org/cgi-bin/man.cgi?query=daemon&apropos=0&sektion
=0&manpath=OpenBSD+Current&arch=i386&format=html
http://www.freebsd.org/cgi/man.cgi?query=daemon&sektion=3&apropos=0
&manpath=FreeBSD+5.1-RELEASE
| |
by: Mary Lei |
last post by:
Does anyone know the link to obtain the
tarball for db2 8.1 for solaris running
on AMD 64 bit ?
This is the entire db2 installation
on a new system that does not have db2.
Thanks.
|
by: shobhah |
last post by:
Hi,
We have a complete succsssfully working product on 32bit sparc solaris machine for which compiler used is CC 5.8
Now we are migarting our product from 32 bit to 64bit sparc solaris machine.
While porting we need 64 bit compiler issues for our application product which is wriiten in completely C++.
We tried with -xarch=v9 and -xport64=full compiler options to find out 64bit porting problems. But we did not find any issues for our...
|
by: jpw |
last post by:
I am writing a Python / C++ embed app and it need to work on 3
platforms
I have the PYTHONPATH variable set correctly and have gone back and
downloaded compiled and installed the latest Python 2.5.1 on Solaris
and Linux. adding in the --enable-shared when running the ./
configure ... file
Mac - good to go there was no need do anything except update to 2.5
and add the PYTHONPATH
|
by: Steven Backus |
last post by:
I inherited a Solaris c++ program that uses Rogue Wave and am trying to
port it to linux. It seg faults in this code:
for (int size = entries() - 1; size 1; --size)
{
RWOrderedIterator vectofclusts_iter(*((RWOrdered*) at(size)));
CCluster* pc;
while ((pc = (CCluster*) vectofclusts_iter()) != NIL)
pc->writeChartTo(fout);
}
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |