Closed Bug 507949 Opened 15 years ago Closed 15 years ago

invalid conversion from ‘JSObject*’ to ‘jsval’ in nsCanvasRenderingContextGLWeb20.cpp

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: t.matsuu, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; ja-JP; rv:1.9.2a1pre) Gecko/20090729 Fedora/3.6a1pre-0.a1pre.2009072816.hg_4679ac688c56.fc11 Minefield/3.6a1pre Build Identifier: During compiling of content/canvas/src/nsCanvasRenderingContextGLWeb20.cpp, we get the following error message: nsCanvasRenderingContextGLWeb20.cpp: In member function ‘virtual nsresult nsCanvasRenderingContextGLWeb20::TexSubImage2D()’: nsCanvasRenderingContextGLWeb20.cpp:2288: error: invalid conversion from ‘JSObject*’ to ‘jsval’ nsCanvasRenderingContextGLWeb20.cpp: In member function ‘virtual nsresult nsCanvasRenderingContextGLWeb20::TexImage2D()’: nsCanvasRenderingContextGLWeb20.cpp:2400: error: invalid conversion from ‘JSObject*’ to ‘jsval’ nsCanvasRenderingContextGLWeb20.cpp:2502: error: invalid conversion from ‘JSObject*’ to ‘jsval’ Reproducible: Always Compilation command: c++ -o nsCanvasRenderingContextGLWeb20.o -c -I../../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DUSE_GLX -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6.29.6-213.fc11\" -DOSARCH=Linux -D_IMPL_NS_LAYOUT -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub -I/usr/include/nspr4 -I/usr/include/nss3 -I./../../../layout/xul/base/src -I./../../../layout/style -I./../../../layout/generic -I./../../base/src -I./../../html/content/src -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsCanvasRenderingContextGLWeb20.pp nsCanvasRenderingContextGLWeb20.cpp
Component: Canvas: 2D → Canvas: WebGL
nsCanvasRenderingContextGLWeb20.cpp does not exit now.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.