Author Topic: timestamps problem  (Read 4257 times)

storm

  • Guest
timestamps problem
« 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?

« Last Edit: November 19, 2007, 02:36:17 pm by storm »

Offline Howard

  • Single posting newcomer
  • *
  • Posts: 8
Re: timestamps problem
« Reply #1 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.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: timestamps problem
« Reply #2 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".
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

storm

  • Guest
Re: timestamps problem
« Reply #3 on: November 19, 2007, 11:22:39 pm »
Adding line:
Code: [Select]
dev-util/codeblocks -fno-strict-aliasing to
Code: [Select]
/etc/portage/package.cflags helped me.
Thanks for help and such nice software.  Sorry for my english ;)