User forums > Using Code::Blocks
Full command line sent to the compiler
(1/1)
johne53:
Recently I updated my aging copy of C::B to svn 5859 (by just installing one of the nightly builds for Windows). Previously, I'd been using C::B to build a program using Cygwin gcc. One of the modules contains a section of code that looks like this:-
--- Code: ---GdkPoint points[4];
points[0] = (GdkPoint){xdir*(topright - stripe_width - topright_div_2), 0}; /* topleft */
points[1] = (GdkPoint){xdir*(topright - topright_div_2), 0}; /* topright */
points[2] = (GdkPoint){xdir*(stripe_width - topright_div_2), height}; /* bottomright */
points[3] = (GdkPoint){xdir*(-topright_div_2), height}; /* bottomleft */
--- End code ---
Today I tried to rebuild this module but at each assignment line I get the error:- "parse error before '}' token"
The code itself hasn't changed. Nor has the compiler changed. the only thing that's changed is my upgrade of C::B. I'm assuming that C::B must now be sending something different to the compiler but the easiest way to find out is to display the full command line being sent to the compiler and compare it with the old one. Is there a way to see the full command line?
Zini:
Settings -> Compiler and debugger settings -> Global compiler settings -> Other settings (this is a tab) -> Complier logging
johne53:
Oops, this wasn't in fact due to C::B. There was an earlier problem in a header file that had changed.... :oops:
Navigation
[0] Message Index
Go to full version