User forums > Help

timestamps problem

(1/1)

storm:
I've just downloaded and installed C::B on my Gentoo Linux.
But I can't run even a simple console "hello world" application.
When I'm trying to compile single file (main.cpp), message appears in "Build log":
WARNING: Can't read file's timestamp: /home/storm/programming/hello/main.cpp
Nothing to be done.

I can't build application. Is that problem with timestamps or I'm doing something wrong?

Howard:
I also get that message when the file is missing or I've specified the wrong file location in the .cbp.

TDragon:
In the future, please search the forums thoroughly before posting. This problem occurs when Code::Blocks is built with GCC 4.2.x using -O2 optimization. To fix it, build C::B with "-O2 -fno-strict-aliasing".

storm:
Adding line:

--- Code: ---dev-util/codeblocks -fno-strict-aliasing
--- End code ---
to
--- Code: ---/etc/portage/package.cflags
--- End code ---
helped me.
Thanks for help and such nice software.  Sorry for my english ;)

Navigation

[0] Message Index

Go to full version