| |
| |
| |
|
Comments:
<0> hey .. in a makefile, how do you tell it to remake if the makefile itself is changed? <1> TekMiester: just enter the name of the Makefile as one of the dependencies of the file. <1> (by the way, that's not so much a gcc question, so I'd rather suggest ##workingset for it) <0> yeah i tried that in gcc and it didn't work <0> thanks for the advice..
<2> the following code generates some weird asm that im trying to understand <2> void function(int a, int b, int c){char buff[4];}int main(){function(1, 2, 3);} <2> mov $0x0,%eax // sub %eax,%esp // sub $0x4,%esp // <2> and on a different box <2> mov $0x0,%eax // add $0xf,%eax // add $0xf,%eax // <2> can anyone provide some insight? <3> hello <3> im trying to compile a piece of code as part of my cpp learning, but i get a strange error <3> error: expected initializer before int <3> what does that mean? <2> where's the code? <3> here: <3> http://rafb.net/paste/results/pNmIex78.html <4> lots of errors in there <4> you need to include <iostream> <4> you miss a semicolon after float Convert(float) <4> cout and cin should be std::cout and std::cin <4> and endl should be std::endl <3> mmm... thanx alot! i'll get right on it! :)
<4> you don't want to include <stdio.h> at all since it's a c header <3> ok <5> There are no variable declarations in main() so why is space being allocated before the function call? Why is it subtracting zero from %esp what purpose does that serve? -- void function(int a, int b, int c){char buff[4];}int main(){function(1, 2, 3);} //push %ebp //mov %esp,%ebp //sub $0x8,%esp //and $0xfffffff0,%esp //mov $0x0,%eax //sub %eax,%esp //sub $0x4,%esp //push $0x3 //push $0x2 //push $0x1 //call 0x8048354 <function> //add $0x10,%esp <6> gahh... tests take longer than compiling :/ <7> subtracting zero from esp serves the purpose of setting the flags appropriate to a comparison of esp against zero. however, it's clearly pointless in that usage. <5> yah i know very confusing <5> why the space allocation? <8> Are GCC libstdc++ bugs on-topic here? <3> hello again :) <3> im having problems with compiling "hello world" :\ <3> http://rafb.net/paste/results/EQjK7q31.html <3> never mind , found the answer .. i should have used g++ <3> thanx anyway <9> hi guys, does anyone know where in IRC I should go to talk about tracking someone trying to hack a forum? I'm sorry i know it isn't relevant to gcc but I figured you guys would know more about where to ask such questions. <10> how do I tell gcc never to ask y or n, to just always do y? <5> -Wask-y-n=false <5> -Wask-y-n=true <10> ok <10> is there a way to configure it to do that without the command line option? <5> edit the gcc source code <5> >:]
Return to
#gcc or Go to some related
logs:
suse 10.0 miniboot unencrypt Zend ACPI-0339
apt dist-upgrade forbidden error debian adaptec 9405 driver openSuSE KDE mount flush gentoo bootsplash_patch Sorry, this kernel version is not supported. #linux #openzaurus Suse gdm remove sessions
|
|