Re: error messages

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

 



Mike Reed <gnu@xxxxxxxxxxx> writes:

> $ g++  -c -o Viewer.o Viewer.cpp
> In file included from Viewer.cpp:1:
> Viewer.h:4:23: error: gtkmm/box.h: No such file or directory
>
> I can see from the source that the #include occurs on line 4 of Viewer.h
> but what is the 23?  I only seem to get this second number on "No such
> file or directory" messages.  In the GCC documentation it only mentions
> filename and line number being given, no mention of a possible second
> number or what it is.

23 is the column number (which is fairly useless for a #include
directive).  In current releases gcc displays the column number for
preprocessor errors and warnings.  The future gcc 4.5.0 will (by
default) display a column number for all messages, not just preprocessor
ones.

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