User forums => Help => Topic started by: storm on November 19, 2007, 11:31:38 am
Title: timestamps problem
Post by: storm on November 19, 2007, 11:31:38 am
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?
Title: Re: timestamps problem
Post by: Howard on November 19, 2007, 03:05:22 pm
I also get that message when the file is missing or I've specified the wrong file location in the .cbp.
Title: Re: timestamps problem
Post by: TDragon on November 19, 2007, 03:10:43 pm
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".
Title: Re: timestamps problem
Post by: storm on November 19, 2007, 11:22:39 pm
Adding line:
Code
dev-util/codeblocks -fno-strict-aliasing
to
Code
/etc/portage/package.cflags
helped me. Thanks for help and such nice software. Sorry for my english ;)