This is going to seem like a totally dumb question - but, hey, it's going to annoy me.
I'm playing with porting an app in eVC++, and one file, somewhere, is including winnt.h, which generates the evil looking error
#error Must define a target architecture.
This doesn't happen for every file in a group, it seems to be dependant upon when certain files are included.
Now, in GCC, when an error occurs, a full include path is shown, so that I can figure out which include is causing this problem, however, VC++ doesn't seem to do this. Is there anyway I can switch this on?
I'm not including winnt.h directly, it might be included by a nested include somewhere, but I don't know which one.
Alternatively, has anybody seen this problem elsewhere and has a sensible solution?
I'm using CELIB which might be doing it.
Alternatively, does anybody know how I should get round it? When I define what I think is an appropriate architecture (I did _M_PPC, because there was no MIPS specific one, but that seems to set the same part as an ARM define would - I get a different 'error' (and about 2000 warnings) - which is in a header file.
I'm sure there's some blindingly simple answer to this, but I can't find it, and it's irritating me now, so I thought I might ask before I kill somebody :)
I'm playing with porting an app in eVC++, and one file, somewhere, is including winnt.h, which generates the evil looking error
#error Must define a target architecture.
This doesn't happen for every file in a group, it seems to be dependant upon when certain files are included.
Now, in GCC, when an error occurs, a full include path is shown, so that I can figure out which include is causing this problem, however, VC++ doesn't seem to do this. Is there anyway I can switch this on?
I'm not including winnt.h directly, it might be included by a nested include somewhere, but I don't know which one.
Alternatively, has anybody seen this problem elsewhere and has a sensible solution?
I'm using CELIB which might be doing it.
Alternatively, does anybody know how I should get round it? When I define what I think is an appropriate architecture (I did _M_PPC, because there was no MIPS specific one, but that seems to set the same part as an ARM define would - I get a different 'error' (and about 2000 warnings) - which is in a header file.
I'm sure there's some blindingly simple answer to this, but I can't find it, and it's irritating me now, so I thought I might ask before I kill somebody :)