On Wednesday 06 January 2016 11:55:16 olivier barthelemy wrote: > OK, i think it is because those includes are supposed to be paths relative > to the cpp files. > But they are included with <> and not "", so there is -I. on the command > line to add the current directory to the search path. > HOWEVER sources are compiled as "gcc /path/to/file.cpp -I." So the -I. adds > the curent directoryto the search path, and not the folder of the cpp file. > Any idea for a better trick than fixing all the includes one by one?
GCC searches the directory of the source with both <> and "". Therefore, it compiles. What compiler are you using? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest