Author Topic: Full command line sent to the compiler  (Read 3442 times)

Offline johne53

  • Regular
  • ***
  • Posts: 253
Full command line sent to the compiler
« on: October 30, 2009, 11:35:16 am »
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 */

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?
« Last Edit: October 30, 2009, 12:39:08 pm by johne53 »

Offline Zini

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: Full command line sent to the compiler
« Reply #1 on: October 30, 2009, 11:37:23 am »
Settings -> Compiler and debugger settings -> Global compiler settings -> Other settings (this is a tab) -> Complier logging


Offline johne53

  • Regular
  • ***
  • Posts: 253
Re: Full command line sent to the compiler
« Reply #2 on: October 30, 2009, 01:01:16 pm »
Oops, this wasn't in fact due to C::B. There was an earlier problem in a header file that had changed....  :oops: