Closed Bug 668368 Opened 14 years ago Closed 14 years ago

Logging.h compile fail due to missing stdio.h

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: romaxa, Unassigned)

References

Details

Attachments

(1 file)

c++ -o SourceSurfaceCairo.o -c -fvisibility=hidden -DMOZ_GFX -DUSE_CAIRO -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -Igfx/2d -I. -I../../dist/include -I../../dist/include/nsprpub -Iobj-build/dist/include/nspr -Iobj-build/dist/include/nss -fPIC -frtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -g -O2 -ffunction-sections -fdata-sections -fno-strict-aliasing -std=gnu++0x -pthread -march=armv7-a -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -g -O2 -Iobj-build/dist/include/cairo -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/SourceSurfaceCairo.pp gfx/2d/SourceSurfaceCairo.cpp gfx/2d/DrawTargetCairo.cpp: In function 'cairo_operator_t mozilla::gfx::GfxOpToCairoOp(mozilla::gfx::CompositionOp)': gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_OUT' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_IN' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_DEST_IN' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_DEST_OUT' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_DEST_OVER' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_DEST_ATOP' not handled in switch gfx/2d/DrawTargetCairo.cpp:46: warning: enumeration value 'OP_XOR' not handled in switch In file included from gfx/2d/Factory.cpp:50: gfx/2d/Logging.h: In function 'void mozilla::gfx::OutputMessage(const std::string&, int)': gfx/2d/Logging.h:89: error: 'printf' was not declared in this scope make[7]: *** [Factory.o] Error 1 make[7]: Leaving directory `obj-build/gfx/2d'
Attachment #542973 - Flags: review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a2) Gecko/20110706 Firefox/7.0a2 Verified fixed; detailed by the changesets (comment 1)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: