Re: Unexpected File Name Too Long Error With #includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob Hatcherson <rob.hatcherson@xxxxxxxxxxxx> writes:

> The problem occurs if I provide a part of this path via a -I option,
> and put the remainder inside quotes in the #include.  So say I do this:
> 
> gcc -E -I C:/d1/d2/d3/d4 blah.c
> 
> ...with the source file looking notionally like this:
> 
> #include "...lots more.../blah.h"
> 
> 
> By experimentation (with this particular file I'm having problems
> with, so this isn't a general observation) when the total length of
> the stuff inside the quotes in the #include statement reaches 82
> characters in length I get a "File name too long" error from the
> preprocessor.  Yet as noted earlier I can include the entire path
> inline without a complaint.

What is the exact command line, and what is the exact error message?

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux