On 06/08/16 15:04, David Topham wrote:
> Would it be also better to use a compiler flag like:
>
> -I C:/mingw/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/tr1/
>
> ...rather than "hardcoding" a path in an include statement? To make it more portable?
Yes, I assume the path you were putting in the code
was just for testing.
Certainly you'd want to not have a full path like that in
the code, and you'd want <>'s instead of "".
Thing is, typically the compiler should know where to find
its own include files, so it's kinda weird you have to tell
it where to look with -I to find compiler include files.
Might be something wrong with your compiler environment there,
not sure.