Hi
The following patch removes the long standing Resource Compiler warning in
Windows builds:
PdfCompilerCompat.h(110) : warning RC4011: identifier truncated to
'PODOFO_COMPILER_LACKS_LL_LITERA'
/*
* Some elderly compilers, notably VC6, don't support LL literals.
* In those cases we can use the oversized literal without any suffix.
* The __FILE__ test stops a truncated macro warning in the Windows resource
compiler RC.exe.
*/
#if defined(__FILE__)
#if defined(PODOFO_COMPILER_LACKS_LL_LITERALS)
# define PODOFO_LL_LITERAL(x) x
# define PODOFO_ULL_LITERAL(x) x
#else
# define PODOFO_LL_LITERAL(x) x##LL
# define PODOFO_ULL_LITERAL(x) x##ULL
#endif
#endif
RC.exe doesn't define __FILE__ when compiling - all C/C++ compilers do (and
PoDoFo already has dependencies on __FILE__ in PODOFO_RAISE_ERROR and
AddToCallstack calls)
Cheers
Mark
Mark Rogers - mark.rog...@powermapper.com
PowerMapper Software Ltd - www.powermapper.com
Registered in Scotland No 362274 Quartermile 2 Edinburgh EH3 9GL
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users