Full path in compiler warning/error messages

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

 



Hi,

I have a situation where I can only see part of the path name when gcc/g++ finds errors/warnings. One such example is given below:

../src/mqmgr.cpp: In member function `virtual void CMqMgrUnique::Execute()':
../src/mqmgr.cpp:319: warning: unsigned int format, pointer arg (arg 2)
../src/mqmgr.cpp:353: warning: int format, long int arg (arg 3)
../src/mqmgr.cpp:375: warning: int format, long int arg (arg 3)


This is the compiler invocation command currently used:

g++-cris -isystem /home/foxboard/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround -c -Wall -Wshadow -O0 -g -fno-omit-frame-pointer -DGVCDEBUG -fmessage-length=0 ../src/mqmgr.cpp -o mqmgr.o

What is the option to tell the compiler (in the above case, compiling for the CRIS) to show the whole path? Should be fairly easy to do, but so far I didn't find the option.

--
*Best rgds,

--Geert

*

[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