Project Home
Project Home
Trackers
Trackers
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 - log2: (2 Items)
   
log2  
I am getting a compile error:
error: there are no arguments to 'log2' that depend on a template parameter, so a declaration of 'log2' must be 
available

Can anyone tell me what this means and how to fix it? As I look at the header files, it seems to come down to 
identifying the system in platform.h. I am new to QNX and I don't know how to properly define the right symbols.
Re: log2  
Can you narrow it down to a certain snippet of source code and post it here? Does a hello world compile just fine?

Have you looked up 'log2' in the docs? From what I understand, you need to include tgmath.h for it.

- Malte