artf2345
I've gotten use to this problem to the point I forgot to mention it. C++ project, IDE 6.4.1. For any line that has errno in it, the editor indicate the line has a syntax error.
Yeah... errno uses some non-standard macro which for some reason indexer cannot find. Qnx project or managed? Mario Charest wrote: > I've gotten use to this problem to the point I forgot to mention it. C++ project, IDE 6.4.1. For any line that has errno in it, the editor indicate the line has a syntax error. > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28371 >
Managed. > -----Original Message----- > From: Elena Laskavaia [mailto:community-noreply@qnx.com] > Sent: April-29-09 2:06 PM > To: general-ide > Subject: Re: errno > > Yeah... errno uses some non-standard macro which for some reason > indexer cannot find. Qnx project or managed? > > Mario Charest wrote: > > I've gotten use to this problem to the point I forgot to mention it. > C++ project, IDE 6.4.1. For any line that has errno in it, the editor > indicate the line has a syntax error. > > > > _______________________________________________ > > General > > http://community.qnx.com/sf/go/post28371 > > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28373 >
Check what it expands to (hover over or open Macro Expansion tool) If it cannot find _STD macro add it with value of <empty> to Path and Symbols->Symbols tab... Mario Charest wrote: > Managed. > >> -----Original Message----- >> From: Elena Laskavaia [mailto:community-noreply@qnx.com] >> Sent: April-29-09 2:06 PM >> To: general-ide >> Subject: Re: errno >> >> Yeah... errno uses some non-standard macro which for some reason >> indexer cannot find. Qnx project or managed? >> >> Mario Charest wrote: >>> I've gotten use to this problem to the point I forgot to mention it. >> C++ project, IDE 6.4.1. For any line that has errno in it, the editor >> indicate the line has a syntax error. >>> _______________________________________________ >>> General >>> http://community.qnx.com/sf/go/post28371 >>> >> _______________________________________________ >> General >> http://community.qnx.com/sf/go/post28373 >> > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28374 >
Is this something we should mention in the release notes? Steve Reid (stever@qnx.com) Technical Editor QNX Software Systems
Nope. There is a lot of weird stuff that indexer cannot parse properly. It does not affect functionality (just a warning that can be turned off) It is not worth mentioning imho. Steve Reid wrote: > Is this something we should mention in the release notes? > > Steve Reid (stever@qnx.com) > Technical Editor > QNX Software Systems > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28377 >
> -----Original Message----- > From: Elena Laskavaia [mailto:community-noreply@qnx.com] > Sent: April-29-09 2:53 PM > To: general-ide > Subject: Re: errno > > Nope. There is a lot of weird stuff that indexer cannot parse properly. > It does not affect functionality (just a warning that can be turned > off) > It is not worth mentioning imho. Not working properly is one thing, but having the editor show a warning (question marks and yellow underlines all over the place) is worth a "don`t spend time search for a solution" release note? > > Steve Reid wrote: > > Is this something we should mention in the release notes? > > > > Steve Reid (stever@qnx.com) > > Technical Editor > > QNX Software Systems > > > > _______________________________________________ > > General > > http://community.qnx.com/sf/go/post28377 > > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28383 >
What is the solution for errno btw? Did it work what I said? There is no universal solution btw... Mario Charest wrote: > >> -----Original Message----- >> From: Elena Laskavaia [mailto:community-noreply@qnx.com] >> Sent: April-29-09 2:53 PM >> To: general-ide >> Subject: Re: errno >> >> Nope. There is a lot of weird stuff that indexer cannot parse properly. >> It does not affect functionality (just a warning that can be turned >> off) >> It is not worth mentioning imho. > > Not working properly is one thing, but having the editor show a warning (question marks and yellow underlines all over the place) is worth a "don`t spend time search for a solution" release note? > >> Steve Reid wrote: >>> Is this something we should mention in the release notes? >>> >>> Steve Reid (stever@qnx.com) >>> Technical Editor >>> QNX Software Systems >>> >>> _______________________________________________ >>> General >>> http://community.qnx.com/sf/go/post28377 >>> >> _______________________________________________ >> General >> http://community.qnx.com/sf/go/post28383 >> > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28384 >
> -----Original Message----- > From: Elena Laskavaia [mailto:community-noreply@qnx.com] > Sent: April-29-09 3:15 PM > To: general-ide > Subject: Re: errno > > What is the solution for errno btw? Did it work what I said? > No it didn`t. I gave a description of what I saw in another post? > There is no universal solution btw... > > Mario Charest wrote: > > > >> -----Original Message----- > >> From: Elena Laskavaia [mailto:community-noreply@qnx.com] > >> Sent: April-29-09 2:53 PM > >> To: general-ide > >> Subject: Re: errno > >> > >> Nope. There is a lot of weird stuff that indexer cannot parse > properly. > >> It does not affect functionality (just a warning that can be turned > >> off) > >> It is not worth mentioning imho. > > > > Not working properly is one thing, but having the editor show a > warning (question marks and yellow underlines all over the place) is > worth a "don`t spend time search for a solution" release note? > > > >> Steve Reid wrote: > >>> Is this something we should mention in the release notes? > >>> > >>> Steve Reid (stever@qnx.com) > >>> Technical Editor > >>> QNX Software Systems > >>> > >>> _______________________________________________ > >>> General > >>> http://community.qnx.com/sf/go/post28377 > >>> > >> _______________________________________________ > >> General > >> http://community.qnx.com/sf/go/post28383 > >> > > > > > > _______________________________________________ > > General > > http://community.qnx.com/sf/go/post28384 > > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28386 >
Yeah which means _STD expands to ::std::. So if you override it for C it suppose to be gone... Mario Charest wrote: > >> -----Original Message----- >> From: Elena Laskavaia [mailto:community-noreply@qnx.com] >> Sent: April-29-09 3:15 PM >> To: general-ide >> Subject: Re: errno >> >> What is the solution for errno btw? Did it work what I said? >> > > No it didn`t. I gave a description of what I saw in another post? > > >> There is no universal solution btw... >> >> Mario Charest wrote: >>>> -----Original Message----- >>>> From: Elena Laskavaia [mailto:community-noreply@qnx.com] >>>> Sent: April-29-09 2:53 PM >>>> To: general-ide >>>> Subject: Re: errno >>>> >>>> Nope. There is a lot of weird stuff that indexer cannot parse >> properly. >>>> It does not affect functionality (just a warning that can be turned >>>> off) >>>> It is not worth mentioning imho. >>> Not working properly is one thing, but having the editor show a >> warning (question marks and yellow underlines all over the place) is >> worth a "don`t spend time search for a solution" release note? >>>> Steve Reid wrote: >>>>> Is this something we should mention in the release notes? >>>>> >>>>> Steve Reid (stever@qnx.com) >>>>> Technical Editor >>>>> QNX Software Systems >>>>> >>>>> _______________________________________________ >>>>> General >>>>> http://community.qnx.com/sf/go/post28377 >>>>> >>>> _______________________________________________ >>>> General >>>> http://community.qnx.com/sf/go/post28383 >>>> >>> >>> _______________________________________________ >>> General >>> http://community.qnx.com/sf/go/post28384 >>> >> _______________________________________________ >> General >> http://community.qnx.com/sf/go/post28386 >> > > > _______________________________________________ > General > http://community.qnx.com/sf/go/post28387 >