nagyistoce / stringencoders

Automatically exported from code.google.com/p/stringencoders
Other
0 stars 0 forks source link

compilation issue on MS VS2008 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to compile a project using the base64 encoder with MS VS2008
2.
3.

What is the expected output? What do you see instead?
compilation fails

What version of the product are you using? On what operating system?
3.7.0

Please provide any additional information below.
in modp_b64.c (modp_b64_decode) the variables are defined after some 
sanity checking code (line 210) that makes VS2008 go mad, defining the 
variables just after the prototype and then using them after the ifdeffed 
code works fine

Original issue reported on code.google.com by AlienPen...@gmail.com on 1 Aug 2009 at 2:05

GoogleCodeExporter commented 9 years ago
Not actually having VS2008 I can't really check,
 however I  did move the "int i" to the top the function.
Hopefully that's all that is needed.

thanks for the report!

--nickg

Original comment by nickgsup...@gmail.com on 12 Feb 2010 at 9:10