Project

Profile

Help

Bug #2636

XdmValue.h: ISO C++ forbids initialization of member valueType

Added by O'Neil Delpratt about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
C++ API
Start date:
2016-02-22
Due date:
% Done:

100%

Found in version:
1.0.0
Fixed in version:
1.0.1

Description

C++ build fails under some compilers due to the variable valueType being initialized as NULL:

XdmValue.h:183: error: ISO C++ forbids initialization of member 'valueType'

Same problem was found in XdmNode.h for the variables parent, children, nodeName and attrValues

History

#1 Updated by O'Neil Delpratt about 2 years ago

  • Status changed from New to In Progress

Workaround is to remove the NULL assignments in the file XdmValue.h and XdmNode.h

#2 Updated by O'Neil Delpratt about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Bug fix committed to subversion and available for next maintenance release

#3 Updated by O'Neil Delpratt about 2 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 1.0.1

Bug fix applied in the Saxon/C 1.0.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF