On Thu, 2016-05-05 at 10:56 -0500, Mark Rogers wrote:
> The following patch removes the long standing Resource Compiler
> warning in Windows builds:

        Hi,
thanks for the code snippet (not a patch, it looks slightly
differently). :)
 
> PdfCompilerCompat.h(110) : warning RC4011: identifier truncated to
> 'PODOFO_COMPILER_LACKS_LL_LITERA'

If I got it right, you are trying to fix a rather informative compiler
warning for a specific compiler by not defining some symbols, which are
used in the code in a various places, by checking some probably defined
symbol in all (most) other compilers which can be used to compile the
sources.

I do not think it's a way to go.

You should check for that particular compiler version, if you want to
avoid the warning for it (see the top of the PdfCompilerCompat.h).

You shouldn't do that by not defining something which is used in the
code (I know, rc.exe is used for the resource compiling only, but
anyway). When the symbol (__FILE__) is not defined in the code-compiler 
too, then the code might not build.

There is a PODOFO_COMPILE_RC, which seems suitable for the issue you
are trying to address.

        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
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

Reply via email to