News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

timestamps problem

Started by storm, November 19, 2007, 11:31:38 AM

Previous topic - Next topic

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".
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

storm

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