On Mon, Apr 21, 2008 at 7:07 AM, Arnie Stender <[EMAIL PROTECTED]> wrote:
> Hi All,
>     Interesting, this is the 2nd or 3rd time I went to post and couldn't
>  till I unsubscribed then re-subscribed. I keep getting mail from the
>  list but every so often... Does anyone else ever have that happen?? At
>  any rate the reason for the post. I had everything running fine on my
>  new BLFS workstation with X Thunderbird, Firefox and all the tools I
>  needed to continue building and all of a sudden my mail and GDM stopped
>  working. I have been trying to find out what happened but finally
>  decided to just re-build and re-install the failed components but for
>  some reason I couldn't get the same package that worked before to
>  compile so I downloaded Thunderbird-2.0.0.12 and can't get that to
>  compile either. I get the following errors. I need the fix but what I
>  would really like is to know what is happening here. Is this just a bit
>  of bad coding or a bug or a switch that isn't being passed to GCC or
>  what? It has been a lot of years since I have been into serious coding
>  and compilers require a lot of things they didn't used to care about. If
>  possible I would like to get back up to speed so I can fix some of these
>  problems myself. Can some kind soul throw me a bone? Thanks in advance
>  for any help or instruction.
>
>  Arnie
>
>  g++ -m64 -o nsAppShell.o -c  -DMOZILLA_INTERNAL_API
>  -DOSTYPE=\"Linux2.6.18.8-0\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000
>  -DUSE_XIM  -I../../../dist/include/xpcom -I../../../dist/include/string
>  -I../../../dist/include/gfx -I../../../dist/include/pref
>  -I../../../dist/include/dom -I../../../dist/include/necko
>  -I../../../dist/include/uconv -I../../../dist/include/intl
>  -I../../../dist/include/gtkxtbin -I../../../dist/include/imglib2
>  -I../../../dist/include/widget -I../../../dist/include
>  -I/usr/include/nspr    -I../../../dist/sdk/include
>  -I/usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/../xpwidgets
>  -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
>  -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
>  -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread
>  -pipe  -DNDEBUG -DTRIMMED -O -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/freetype2
>  -I/usr/include/libpng12     -DMOZILLA_CLIENT -include
>  ../../../mozilla-config.h -Wp,-MD,.deps/nsAppShell.pp
>  /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp
>  /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp: In
>  member function 'virtual nsresult
>  nsAppShell::ListenToEventQueue(nsIEventQueue*, PRBool)':
>  /usr/src/blfspackages/xfce4/mozilla/widget/src/gtk2/nsAppShell.cpp:230:
>  error: cast from 'void*' to 'gint' loses precision

That certainly looks like the type of error -Werror would throw, but I
don't see it anywhere. What version of gcc is this? On the other hand,
casting from a pointer to a non-pointer seems totally wrong even if
it's probably harmless in this instance, so I'm guessing that the
"real" fix is a patch. There should be some way to work around it,
though.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to