You are not logged in.
After upgrading to xorg7 I get this error (before it was ok):
$xrdb -merge .Xresources
Predefined macro file '/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_old.h' is not found
Predefined macro file '/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_std.h' is not found
<stdin>:0: warning: Unknown encoding: pl_PL
Any ideas? Do you get the same when typing "xrdb -merge .Xresources"?
Offline
I get the same thing
$ xrdb -merge .Xdefaults
Predefined macro file '/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_old.h' is not found
Predefined macro file '/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/mcpp_gcc40_predef_std.h' is not found
No idea how to fix it.
Offline
as mentioned somewhere in bbs:
pacman -Rd mcpp
fixes the problem
Offline
Thanks. Works now.
Offline
Found out that this works also:
xrdb -nocpp -merge ~/.Xdefaults
Offline
These messages are a warning from mcpp. For usage in Xorg it is fine, except that it scares you with these messages.
The -nocpp flag for xrdb will break quite some TK applications I assume.
Offline
It seems that xrdb processes the resource files with mcpp by default in Xorg 7.0. Is there an obvious advantage to prefer mcpp over GNU cpp?
GNU cpp gives no warnings (I think this was the old behaviour):
xrdb -merge -cpp /usr/bin/cpp .Xdefaults
Offline
The advantage of mcpp over cpp is speed: cpp is a dummy program that executes the cpp function in the gcc compiler, which is a 14MB binary. mcpp is a small 100K binary, which executes much faster. This speeds up the startup of your desktop quite a lot, especially when your login manager (gdm) executes it 3 times while logging in.
Offline
Ok, thanks for the clarification. I think it's safe for me to use the -nocpp flag, since my .Xdefaults contains nothing that needs to run through a preprocessor. Btw, my login manager is slim.
Offline