Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #912 (assigned defect)

Opened 5 months ago

Last modified 5 months ago

Warning messages from recent math.IEEE changes

Reported by: kris Assigned to: larsivi (accepted)
Priority: normal Milestone: External Bugs
Component: Core Functionality Version: 0.99.4 Frank
Keywords: Cc:

Description

some warnings slipped in here recently (compile with -w)

Change History

02/19/08 02:04:47 changed by larsivi

#928 marked as duplicate - see it for messages

02/19/08 03:18:30 changed by Don Clugston

This really sucks. DMD generates a warning whenever a bitwise logical operation is performed on anything other than an int. These warnings NEVER, under ANY circumstances, indicate a bug. Really, -w is so horribly broken, I don't know why anyone uses it. It's almost inevitable that it reduces code quality.

short a; short b; short c = a|b; // generates a warning.

This is bugzilla 1257. I've introduced a horrible workaround to stop this warning (it is most definitely not a bugfix).

02/19/08 14:11:47 changed by larsivi

  • owner changed from Don Clugston to larsivi.
  • status changed from new to assigned.
  • milestone changed from 0.99.5 to External Bugs.

[3228] is a workaround for these warnings.