bugCERTI - Bugs: bug #48264, Build fails with Visual Studio 2015

 
 

bug #48264: Build fails with Visual Studio 2015

Submitted by:  None
Submitted on:  Sat 18 Jun 2016 06:46:23 PM UTC  
 
Category:  CERTI Severity:  4 - Important
Item Group:  Compilation error Status:  Need Info
Privacy:  Public Assigned to:  JbCh <jb_ch>
Open/Closed:  Open Release:  GIT-master
Reproducibility:  Every Time Fixed Release:  Unknown

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Jun 2016 06:46:23 PM UTC, original submission:  

there is an error M_Classes.cc and  NM_Classes.cc

NM_Classes.cc

95:         out << dimensions[i].show(out);
183:         out << attributes[i].show(out);
271:         out << parameters[i].show(out);
445:         out << routingSpaces[i].show(out);
450:         out << objectClasses[i].show(out);
455:         out << interactionClasses[i].show(out);

M_Classes.cc

1047:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1098:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1181:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1264:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1347:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1398:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
1481:      out << "(opt) eventRetraction =" << eventRetraction.show(out)      << std::endl;
3049:      out << " eventRetraction = " << eventRetraction.show(out)      << std::endl;

the show method is of type std::ostream& and there is no << operator defined for it in Visual C++ ( works in g++ without problems)

fix : define << operator like so:

std::ostream& operator<<(std::ostream& out, EventRetraction& er) {
   return er.show(out);
   }

and use :

out << "(opt) eventRetraction =" << eventRetraction  << std::endl;

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jb_ch (Updated the item)
  •  

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-09 jb_ch StatusNone => Need Info
        Assigned toNone => jb_ch

    Back to the top


    Powered by Savane 3.5