Project

General

Profile

Bug #326

C++ nasty surprises

Added by John Abbott about 11 years ago. Updated about 10 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Portability
Target version:
Start date:
27 Feb 2013
Due date:
% Done:

10%

Estimated time:
Spent time:

Description

This "issue" is just to collect links to issues where we got burned by strange/unexpected C++ behaviour.

If you get burned by some "nasty surprise" in C++, report it and make it a related issue to this one.


Related issues

Related to CoCoALib - Bug #327: C++ integer shift operatorsClosed2013-02-27

History

#1 Updated by John Abbott about 11 years ago

2013-03-14 Got burned in OrdvArith.C (fn CmpWDegPartial) by a silent conversion from unsigned long to signed int -- a "negative" value got truncated and became 0. No obvious way to make the compiler warn about this :-(

#2 Updated by Anna Maria Bigatti about 10 years ago

  • Target version set to CoCoALib-0.99533 Easter14

#3 Updated by John Abbott about 10 years ago

  • Category set to Portability
  • Status changed from New to In Progress
  • Target version changed from CoCoALib-0.99533 Easter14 to CoCoALib-1.0
  • % Done changed from 0 to 10

Also available in: Atom PDF