Submit | Open tickets | Closed tickets

[ Ticket #71 ] Alpha port: cxx options needs -nopt or -noimplicit_include
Date:
11/29/01 12:31
Submitted by:
robertthebob
Assigned to:
unset
Category:
Compilation/Installation
Priority:
5
Ticket group:
Need to Fix
Resolution:
Unset
Summary:
Alpha port: cxx options needs -nopt or -noimplicit_include
Original submission:
Working on port to Linux Alpha...
Compiling with Compaq cxx on Linux Alpha:

/usr/bin/cxx -DPRIMARY_PATH="/usr/local/share/ghemical/" -DFORMAT_PATH="/usr/local/share/ghemical/0.81" -c -g -I../../src/graphics -I../../src/common -I../../oelib -I/usr/local/src/ghemical-0.81/src ./mm1mdl.cpp
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/algorithm.cc, line 103:
no operator "!=" matches these operands
operand types are: mm1_bond != const mm1_bond
detected during instantiation of "InputIterator
std::find(InputIterator, InputIterator, const T &) [with
InputIterator=std::list<mm1_bond,
std::allocator<mm1_bond>>::iterator, T=mm1_bond]"
while (first != last && *first != value)
-----------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/algorithm.cc, line 103:
no operator "!=" matches these operands
operand types are: mm1_cr != const mm1_cr
detected during instantiation of "InputIterator
std::find(InputIterator, InputIterator, const T &) [with
InputIterator=std::list<mm1_cr,
std::allocator<mm1_cr>>::iterator, T=mm1_cr]"
while (first != last && *first != value)
-----------------------------------^
cxx: Info: 2 errors detected in the compilation of "./mm1mdl.cpp".
make[1]: *** [mm1mdl.o] Error 1

_____________________________________
This is fixed by preventing the inclusion of algorithms.cc
with either -nopt or -noimplicit_include on the cxx command line. I'm not sure which is best yet because I've not
solved some other porting issues/bugs and can't see
the runtime results.

Bob Williams 11/29/01
Please log in to add comments and receive followups via email.
No followups have been posted
No results for "Dependent on ticket"
No results for "Dependent on Task"
No other tickets are dependent on this ticket
No changes have been made to this ticket

© 1998-2025 Scilico, LLC. All rights reserved.