Miscellaneous warnings on Windows

Bug #992037 reported by Paul J. Lucas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Low
Paul J. Lucas

Bug Description

First warning:

include\zorba\transcode_stream.h(275) : warning C4355: 'this' : used in base member initializer list

Second warning:

src\runtime\json\jsonml_array.cpp(201) : warning C4800: 'zorba::whitespace::type' : forcing value to bool 'true' or 'false' (performance warning)

Related branches

description: updated
Changed in zorba:
importance: Undecided → Low
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

For the first warning, the code is actually correct as-is. The warning is ONLY a warning. Hence, in this case, the warning should be disabled.

Changed in zorba:
status: Triaged → In Progress
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

The second warning can be suppressed by using !! hidden inside a macro.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Rolled into this bug is also a build error on Windows in locale.cpp. The fix is to use () rather than =.

Changed in zorba:
status: In Progress → Fix Committed
milestone: none → 2.5
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.