Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Issue on 6.3.0 in PtMTrend.h: (7 Items)
   
Issue on 6.3.0 in PtMTrend.h  
I had no problems using C++ with the photon libraries so far, except with
PtMTrendAttr_t structure. It is defined as a nested struct and its name
is actually Pt_mtrend_widget::pt_mtrend_graph_info::pt_mtrend_attr.

In PtMTrend.h, there is a typedef that says

  typedef pt_mtrend_attr PtMTrendAttr_t;

You probably need conditional compilation or put pt_mtrend_attr in the
global namespace.

I do not know if this was fixed in subsequent releases.


Jonathan Mcdougall
Re: Issue on 6.3.0 in PtMTrend.h  
Hi Jonathan,

I believe this issue has been already resolved. Can you please try this updated header?

Regards,

Ryan Mansfield
Attachment: Text PtMTrend.h 5.19 KB
Re: Issue on 6.3.0 in PtMTrend.h  
> I believe this issue has been already resolved. Can you please try this 
> updated header?

Yes, the new header does solve the problem by moving pt_mtrend_attr
to the global namespace. Just out of curiosity, was this header
shipped with a subsequent version of QNX?


Jonathan
Post Deleted
Post Deleted
Re: Issue on 6.3.0 in PtMTrend.h  
This header file change has not been shipped in an official release yet.

Regards,

Ryan Mansfield 
Re: Issue on 6.3.0 in PtMTrend.h  
> This header file change has not been shipped in an official release yet.

Not been shipped yet, got it.

Thanks.


Jonathan