Topic
  • 3 replies
  • Latest Post - ‏2013-03-28T14:50:53Z by ebclark2
ebclark2
ebclark2
14 Posts

Pinned topic streams_boost

‏2013-03-27T21:07:11Z |
Hello,

I'm writing a primitive c++ operator for streams 2.0.0.3 and I'm attempting to use the boost date_time library installed on my system instead of the one packaged with streams. In the streams_boost library packaged with streams it looks like the include guards were not changed, only the namespace and macro names, which is preventing the streams_boost header from being included and my operator from compiling. The file giving me trouble is 'InfoSphereStreams/ext/include/streams_boost/date_time/posix_time/posix_time_types.hpp'. Does anyone know if this is fixed in a later version?

Thanks,
-Ed
  • pcbye
    pcbye
    26 Posts

    Re: streams_boost

    ‏2013-03-28T14:18:10Z  
    Hello,

    I did find the original defect concerning this issue, which at least according to the defect was actually fixed in 2.0.0.1 (but have not found a 2.0.0.1 installation to verify this with). I found a 2.0.0.4 installation and looked at the file you were describing and if I'm understanding correctly, the inclusion guard does include "STREAMS" to differentiate it from the system boost:

    #ifndef POSIX_TIME_TYPES_STREAMS_HPP___
    #define POSIX_TIME_TYPES_STREAMS_HPP___

    Please let me know if I'm misunderstanding. In the meantime, I'm going to see if I can find a 2.0.0.3 or 2.0.0.1 installation to verify where we actually did make this change. If you have 2.0.0.4 available you may want to update to that as well.
  • pcbye
    pcbye
    26 Posts

    Re: streams_boost

    ‏2013-03-28T14:48:23Z  
    • pcbye
    • ‏2013-03-28T14:18:10Z
    Hello,

    I did find the original defect concerning this issue, which at least according to the defect was actually fixed in 2.0.0.1 (but have not found a 2.0.0.1 installation to verify this with). I found a 2.0.0.4 installation and looked at the file you were describing and if I'm understanding correctly, the inclusion guard does include "STREAMS" to differentiate it from the system boost:

    #ifndef POSIX_TIME_TYPES_STREAMS_HPP___
    #define POSIX_TIME_TYPES_STREAMS_HPP___

    Please let me know if I'm misunderstanding. In the meantime, I'm going to see if I can find a 2.0.0.3 or 2.0.0.1 installation to verify where we actually did make this change. If you have 2.0.0.4 available you may want to update to that as well.
    I did find a 2.0.0.3 installation and did confirm that the problem was NOT fixed in 2.0.0.3, but was fixed in 2.0.0.4. So upgrading to the 2.0.0.4 fixpack should take care of your issue.
  • ebclark2
    ebclark2
    14 Posts

    Re: streams_boost

    ‏2013-03-28T14:50:53Z  
    • pcbye
    • ‏2013-03-28T14:48:23Z
    I did find a 2.0.0.3 installation and did confirm that the problem was NOT fixed in 2.0.0.3, but was fixed in 2.0.0.4. So upgrading to the 2.0.0.4 fixpack should take care of your issue.
    Excellent, thanks for the quick reply.