Bioinformatics.org
[OMICtools]
Not logged in
  • Log in
  • Bioinformatics.org
    Membership (41087+) Group hosting [?] Wiki
    Franklin Award
    Sponsorships

    Careers
    About bioinformatics
    Bioinformatics training
    Bioinformatics jobs

    Research
    All information groups
    Online databases Online analysis tools Online education tools More tools

    Development
    All software groups
    FTP repository
    SVN & CVS repositories [?]
    Mailing lists

    Forums
    News & Commentary
  • Submit
  • Archives
  • Subscribe

  • Jobs Forum
    (Career Center)
  • Submit
  • Archives
  • Subscribe
  • Ghemical: Molecular modelling - Support tickets

    Submit | Open tickets | Closed tickets

    [ Ticket #76 ] typedef.h, line 62: "ostream" is ambiguous
    Date:
    11/29/01 16:56
    Submitted by:
    robertthebob
    Assigned to:
    unset
    Category:
    Compilation/Installation
    Priority:
    5
    Ticket group:
    Need to Fix
    Resolution:
    Unset
    Summary:
    typedef.h, line 62: "ostream" is ambiguous
    Original submission:
    Porting to Compaq cxx for Linux Alpha...
    This one is too hard for me, or it's
    at the end of the day and I'm tired.


    make[1]: Entering directory `/md1/usr/local/src/ghemical-0.81/src/target3'
    /usr/bin/cxx -c -g -fno-exceptions -I../../src/graphics -I../../src/common -I../../oelib -I/usr/local/src/ghemical-0.81/src -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include ./glade_callbacks.cpp
    cxx: Error: ../../src/common/typedef.h, line 62: "ostream" is ambiguous
    friend ostream & operator<<(ostream & p1, const a3<TYPE1> & p2)
    ---------------^
    cxx: Error: ../../src/common/typedef.h, line 62: "ostream" is ambiguous
    friend ostream & operator<<(ostream & p1, const a3<TYPE1> & p2)
    ------------------------------------^
    cxx: Error: ../../src/common/model.h, line 71: "ostream" is ambiguous
    ostream * ostr;
    --------^
    cxx: Error: ../../src/common/model.h, line 95: "ostream" is ambiguous
    model_simple(ostream *, class_factory &);
    ---------------------^
    ....................and more and more




    in typedef.h:
    friend ostream & operator<<(ostream & p1, const a3<TYPE1> & p2)


    in src/common/mm1mdl.ixx
    typedef basic_ostream<char> ostream;
    pulled from
    /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/ostream:


    #ifndef _RWSTD_NO_COMPLEX_DEFAULT_TEMPLATES
    typedef basic_ostream<char> ostream;
    #else
    typedef basic_ostream<char, char_traits<char> > ostream;
    #endif
    Please log in to add comments and receive followups via email.
    Followups
    Comment Date By
    Hummm... So there are too many "ostream" classes to choose from?

    The "ostream" that we are looking for here, is the simple basic "ostream" that is a base class of both cout and ofstream (so that we can print things to console or file or anywhere).

    Could you try whether the std::ostream class could be the one?
    We are already using namespace std but it won't help in ambiguous cases?

    TH
    12/05/01 09:23 thassine
    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

     

    Copyright © 2019 · Scilico, LLC