Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.

Bug 56095

Summary: Non-standards compliant C++ code
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Rosenkraenzer <bero>
Component: pilot-linkAssignee: Ngo Than <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-12 14:32:32 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Bernhard Rosenkraenzer 2001-11-12 14:32:26 EST
c++ -I../include -I./../include -g -O2 -Wall -c datebook.cc
In file included from /usr/include/g++-v3/backward/iostream.h:31,
                 from ../include/pi-datebook.hxx:7,
                 from ../include/pi-datebook.h:89,
                 from datebook.cc:11:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning 
This file includes at least one deprecated or antiquated header. Please 
consider using one of the 32 headers found in section 17.4.1.2 of the C++ 
standard. Examples include substituting the <X> header 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 ../include/pi-datebook.h:89,
                 from datebook.cc:11:
../include/pi-datebook.hxx:37: friend declaration requires class-key, i.e.
   `friend class appointmentList_t'



Replaceing friend appointmentList_t; with friend class appointmentList_t; 
should do the trick; while at it, please update to the current version ;)
Comment 1 Ngo Than 2001-11-12 15:26:13 EST
it's fixed in pilot-link-0.9.5-10. thanks