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 - Invalid recursive tan(float) C++ declaration on 6.4.1 M4: (2 Items)
   
Invalid recursive tan(float) C++ declaration on 6.4.1 M4  
Just compile it and run:

#include <math.h>

int main()
{
   tan(0.5f);

   return 0;
}

Compile it using:
g++ tan.cpp -o tan

or

QCC tan.cpp -o tan -lstdc++
Re: Invalid recursive tan(float) C++ declaration on 6.4.1 M4  
Mike Gorchak wrote:
> Just compile it and run:
> 
> #include <math.h>
> 
> int main()
> {
>    tan(0.5f);
> 
>    return 0;
> }
> 
> Compile it using:
> g++ tan.cpp -o tan
> 
> or
> 
> QCC tan.cpp -o tan -lstdc++

PR67786. It should be fixed in M6 (missed M5 by a few days).

Regards,

Ryan Mansfield