Complile error on FC4 x86_64

Help
2005-08-02
2013-05-13
  • Robert Bell
    Robert Bell
    2005-08-02

    I can't get 2.85 or 3.01 to compile on this machine. It always ends like this:

    /usr/include/mozilla-1.7.10/xpcom/nsIServiceManagerUtils.h:70: warning: synthesized method 'nsGetServiceByCID::nsGetServiceByCID(const nsGetServiceByCID&)' first required here
    /usr/include/mozilla-1.7.10/xpcom/nsIServiceManagerUtils.h: At global scope:
    /usr/include/mozilla-1.7.10/xpcom/nsIServiceManagerUtils.h:81: warning: 'class nsGetServiceByContractID' has virtual functions but non-virtual destructor
    /usr/include/mozilla-1.7.10/xpcom/nsIServiceManagerUtils.h:114: warning: 'class nsGetServiceFromCategory' has virtual functions but non-virtual destructor
    /usr/include/mozilla-1.7.10/nsIMemory.h:54: warning: 'class nsIMemory' has virtual functions but non-virtual destructor
    Source/plugin.cpp: In member function 'virtual NPError nsPluginInstance::SetWindow(NPWindow*)':
    Source/plugin.cpp:637: error: cast from 'void*' to 'unsigned int' loses precision
    Source/plugin.cpp:662: error: cast from 'void*' to 'unsigned int' loses precision
    make: *** [plugin.o] Error 1
    error: Bad exit status from /var/tmp/rpm-tmp.89597 (%build)

    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.89597 (%build)

     
    • Kevin DeKorte
      Kevin DeKorte
      2005-08-02

      CVS should have a fix for this in it. Can you please test and let me know if it works.

       
    • Robert Bell
      Robert Bell
      2005-08-03

      I got the letest CVS and i have the same problem:

      Source/plugin.cpp: In member function 'virtual NPError nsPluginInstance::SetWind ow(NPWindow*)':
      Source/plugin.cpp:637: error: cast from 'void*' to 'unsigned int' loses precisio n
      Source/plugin.cpp:662: error: cast from 'void*' to 'unsigned int' loses precisio n
      make: *** [plugin.o] Error 1
      error: Bad exit status from /var/tmp/rpm-tmp.30993 (%build)