Building djvulibre 3.5.25 results in a series of errors when building with gcc 4.7.
One problem is related to Detection of redeclared variable names in nested scopes
Attached patch fixes the build for me.
Fix build with gcc 4.7
In Git. Will release a new version soon.