Skip to content

Errors while installing #8

Description

@manjush3v

The following errors are generated while installing in mac 10.10.1 OS X
In file included from seccure/libseccure.c:32:
seccure/libseccure.h:20:9: error: 'LIBSECFURE_H' is used as a header guard
here, followed by #define of a different macro [-Werror,-Wheader-guard]

ifndef LIBSECFURE_H

    ^~~~~~~~~~~~~~

seccure/libseccure.h:21:9: note: 'LIBSECCURE_H' is defined here; did you mean
'LIBSECFURE_H'?

define LIBSECCURE_H

    ^~~~~~~~~~~~~~
    _LIBSECFURE_H_

seccure/libseccure.c:60:22: error: equality comparison with extraneous
parentheses [-Werror,-Wparentheses-equality]
if ( (keypair->pub == NULL) )
~~~~~~~~~~~~~^~~~~~~
seccure/libseccure.c:60:22: note: remove extraneous parentheses around the
comparison to silence this warning
if ( (keypair->pub == NULL) )
~ ^ ~
seccure/libseccure.c:60:22: note: use '=' to turn this equality comparison into
an assignment
if ( (keypair->pub == NULL) )
^~
=
seccure/libseccure.c:474:13: error: equality comparison with extraneous
parentheses [-Werror,-Wparentheses-equality]
if ( (data == NULL) ) {
~~~~~^~~~~~~
seccure/libseccure.c:474:13: note: remove extraneous parentheses around the
comparison to silence this warning
if ( (data == NULL) ) {
~ ^ ~
seccure/libseccure.c:474:13: note: use '=' to turn this equality comparison into
an assignment
if ( (data == NULL) ) {
^~
=
seccure/libseccure.c:682:13: error: equality comparison with extraneous
parentheses [-Werror,-Wparentheses-equality]
if ( (data == NULL) ) {
~~~~~^~~~~~~
seccure/libseccure.c:682:13: note: remove extraneous parentheses around the
comparison to silence this warning
if ( (data == NULL) ) {
~ ^ ~
seccure/libseccure.c:682:13: note: use '=' to turn this equality comparison into
an assignment
if ( (data == NULL) ) {
^~
=
4 errors generated.
error: command 'clang' failed with exit status 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions