Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 125186
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125186 depends on: Show dependency tree
Bug 125186 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-06 00:24 0000
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/include/libpng12   -Wall -O3 -mtune=pentium3 -march=pentium3 -pipe
-fomit-frame-pointer -mmmx -msse -ffast-math -c `test -f drill.c || echo
'./'`drill.c
drill.c: In function &#8216;parse_drillfile&#8217;:
drill.c:220: error: invalid lvalue in assignment
drill.c:221: error: invalid lvalue in assignment
make[2]: *** [drill.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gerbv-1.0.1-r1/work/gerbv-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gerbv-1.0.1-r1/work/gerbv-1.0.1'
make: *** [all] Error 2

!!! ERROR: sci-electronics/gerbv-1.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.


fix:

delete the (double) left cast in 220 and 221 lines.
works.

------- Comment #1 From Tim Yamin (RETIRED) 2006-03-06 10:29:15 0000 -------
So:

            if(state->unit == MM) {
-               (double)curr_net->start_x /= 25.4;
-               (double)curr_net->start_y /= 25.4;
+               curr_net->start_x /= 25.4;
+               curr_net->start_y /= 25.4;
                /* KLUDGE. All images, regardless of input format,

... right?

------- Comment #2 From Patrizio Bassi 2006-03-06 11:21:12 0000 -------
yes like that :)

------- Comment #3 From Tim Yamin (RETIRED) 2006-03-10 11:51:28 0000 -------
InCVS, thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug