bugGnome Chemistry Utils - Bugs: bug #13273, gcc4 compile errors

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13273: gcc4 compile errors

Submitted by:  None
Submitted on:  Thu 02 Jun 2005 02:47:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

Fri 03 Jun 2005 06:46:38 AM UTC, comment #2:

Bug fixed. Please download 0.4.2

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Thu 02 Jun 2005 04:23:18 PM UTC, comment #1:

Hmm, I was about to release 0.4.2. But it will not fix this one. I'll make tests with gcc-4.0 first.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Thu 02 Jun 2005 02:47:15 PM UTC, original submission:

Hi,

do u have any workarounds/patches to compile your package with gcc/g++4?

0.4.1 compilation aborts with:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DXTHREADS -DORBIT2=1 -pthread -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/openbabel -Wall -g -O2 -MT element.lo -MD -MP -MF .deps/element.Tpo -c element.cc -fPIC -DPIC -o .libs/element.o
element.cc: In constructor 'EltTable::EltTable()':
element.h:61: error: 'gcu::Element::Element(int, const char*)' is private
element.cc:88: error: within this context
element.h:195: error: 'unsigned char gcu::Element::m_MaxBonds' is private
element.cc:92: error: within this context
element.h:198: error: 'std::string gcu::Element::name' is private
element.cc:107: error: within this context
element.h:197: error: 'double gcu::Element::m_DefaultColor [3]' is private
element.cc:116: error: within this context
element.h:197: error: 'double gcu::Element::m_DefaultColor [3]' is private
element.cc:121: error: within this context
element.h:197: error: 'double gcu::Element::m_DefaultColor [3]' is private
element.cc:126: error: within this context
element.h:200: error: 'std::vector<GcuElectronegativity, std::allocator<GcuElectronegativity> > gcu::Element::m_en' is private
element.cc:141: error: within this context
element.h:199: error: 'std::vector<GcuAtomicRadius, std::allocator<GcuAtomicRadius> > gcu::Element::m_radii' is private
element.cc:189: error: within this context
element.h:198: error: 'std::string gcu::Element::name' is private
element.cc:196: error: within this context
element.h:198: error: 'std::string gcu::Element::name' is private
element.cc:196: error: within this context
element.h:200: error: 'std::vector<GcuElectronegativity, std::allocator<GcuElectronegativity> > gcu::Element::m_en' is private
element.cc:199: error: within this context
element.h:199: error: 'std::vector<GcuAtomicRadius, std::allocator<GcuAtomicRadius> > gcu::Element::m_radii' is private
element.cc:200: error: within this context
element.cc: In destructor 'virtual EltTable::~EltTable()':
element.h:62: error: 'virtual gcu::Element::~Element()' is private
element.cc:214: error: within this context
element.cc: In member function 'void EltTable::AddElement(gcu::Element*)':
element.cc:231: warning: comparison between signed and unsigned integer expressions
element.cc: In static member function 'static bool gcu::Element::GetRadius(GcuAtomicRadius*)':
element.cc:394: warning: unused variable 'i'
element.cc:395: warning: unused variable 'res'

If you have any patches against 0.4.1 would be good, so we can go on with the transition in ubuntu breezy.

thx,
Stephan Hermann

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 03 Jun 2005 06:46:38 AM UTCjean_brefortStatusConfirmed=>Fixed
  Open/ClosedOpen=>Closed
Thu 02 Jun 2005 04:23:18 PM UTCjean_brefortStatusNone=>Confirmed
  Assigned toNone=>jean_brefort

Back to the top


Powered by Savane 3.1-cleanup1