Author Topic: compiling errors  (Read 3355 times)

Ycra

  • Guest
compiling errors
« on: June 10, 2007, 12:29:09 pm »
hy,

so its been a while that i use code block to learn programming in c++
but since last time my pc crashed i tried to get a encient file back and it won't compile
i though maybe because its old i just write the code again and i'll see

so i did, still didn't work
i tried just de basic thing, hello world won't again, debugs gave me 0 errors and i thought maybe its something else i thought i just reinstal everything en we'll see
now he compiles but he gives me a strange error again

main.cpp:7:2: warning: no newline at end of file
Linking console executable: C:\Documents and Settings\Administrateur\Mes documents\test\console.exe
/mingw/lib/crt2.o:crt1.c:(.text+0x16a): undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 2 warnings

so every thing works but my consern is (look at de bold letters)

that's just something it looks not good at all

greets and thanks for your help
Ycra

i fixed it
it was a problem with iostream itself
i use <iostream> en i had a bug (cout wanst a declarend variable or something)
i used <iostream.h> no compiling fault but that error message that said there was a probleme
so i tried again with iostream en afther that run the programm and no problem animore

it is strange because i never had this problem before
thanks anyway
but is you know how to delite that message error please tell me
thanks again
Ycra
« Last Edit: June 10, 2007, 12:58:11 pm by Ycra »