title: Locate root cause of preprocessor errors - gcc
body: <p>I'm trying to build a big project step by step. I'm working on <code>Linux</code> and using <code>qt-creator</code> and <code>gcc</code> compiler. I include a set of related files in the <code>.pri</code> file and then build, test functionality and then add a new set of existing files and so on.</p>
  <p>The project compiled successfully then I included a folder containing some header files then when compiled I got many errors in <code>libc-header-start.h</code>, <code>string.h</code>, <code>cpu-set.h</code>, <code>time.h</code> and many other stdlib and system files. Errors like <code>missing binary operator before token (</code>, <code>unknown type name __cpu_mask</code>, <code>expected ';', ',' or ')' before '*' token</code>.</p>
  <p>I think these are likely to be preprocessor errors that are caused, for example, if I forget a semicolumn or so, right?</p>
  <p>My question is, how can I locate the exact location in the header/source files where all these errors started, for example, the line of code where the semicolumn is missing.</p>