
Originally Posted by
wysota
As you can see here:
gcc tries to build the precompiled header. I haven't seen a similar line in your log. Maybe your compiler doesn't support it after all.
BTW. You should change your stable.h. Only include directives should be there. No "using namestace std" calls or simmilar. And put there only those files which are known not to be changed during the life of the project (like Qt includes) and try to avoid includes local to your project unless you're sure they won't change frequently. And please, NEVER include "stable.h" from other files. Only include those files which you really need. Otherwise you'll increase the compilation complexity for environments which don't support precompiled headers.
That part is interesting too:
What happens if you try to compile the project on a machine which uses different paths? And try to use slashes instead of backslashes, it's more portable.
If I tried to copiled on other machine wich different path glew.h doesn't compile...
I don't still understand: why your compiler gets error and mine not?
But the thing that I take out toolbox the time compiling is right, what is it? a case?
Ok my compiler dosns't support it, but what can be the cause of that? what do you say about this (i activated debug mode):
mywidget.cpp(1279) : warning C4100: 'e' : unreferenced formal parameter
mywidget.cpp(1332) : warning C4100: 'e' : unreferenced formal parameter
mymainform.cpp
Generating Code...
c:\programmi\microsoft visual studio .net 2003\vc7\include\xtree(1136) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\xtree(1136) : warning C4702: unreachable code
//here is working the same long time.....
mywidget.cpp(1279) : warning C4100: 'e' : unreferenced formal parameter
mywidget.cpp(1332) : warning C4100: 'e' : unreferenced formal parameter
mymainform.cpp
Generating Code...
c:\programmi\microsoft visual studio .net 2003\vc7\include\xtree(1136) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(834) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\vector(857) : warning C4702: unreachable code
c:\programmi\microsoft visual studio .net 2003\vc7\include\xtree(1136) : warning C4702: unreachable code
//here is working the same long time.....
To copy to clipboard, switch view to plain text mode
Bookmarks