[openssl-dev] [openssl.org #4123] Query regarding dummy variable inside crypto

tosif tamboli via RT rt at openssl.org
Tue Nov 10 10:03:17 UTC 2015


Thanks for your inputs

On Mon, Nov 9, 2015 at 10:36 PM, Kaduk, Ben via RT <rt at openssl.org> wrote:

> On 11/08/2015 05:37 AM, tosif tamboli via RT wrote:
> > Hi ,
> > I am compiling crypto in openssl for vxWorks version 5.4
> > with 5.5.1 it compiles well
> > But with 5.4 it gives error for below files
> > bn_depr.c
> > ccppc: Internal compiler error: program cc1 got fatal signal 6
> >
> > When checked it gives error for location
> > static void *dummy=&dummy;
> > When I comment it then compiles well. but not getting why it's required
> if
> > it's not being used anywhere.
> >
> > Can you please provide your inputs for above?
> >
>
> It is present so that when OPENSSL_NO_DEPRECATED is set, pedantic
> compilers do not warn about an empty compilation unit.  However, it does
> not conform to the current best practice for such code.  The attached
> patch should help.
>
> -Ben
>
>



More information about the openssl-dev mailing list