Skip to content

cph5externs.h Produces GCC 8.1 Error #8

@richards-joel-e

Description

@richards-joel-e

cph5externs.h produces the following error:
error: a storage class can only be specified for objects and functions
#define CPH5_EXTERN extern
^~~~~~
../lib/cph5/common_externs/cph5externs.h:84:1: note: in expansion of macro 'CPH5_EXTERN'
CPH5_EXTERN class CPH5CompType;

This seems to compile without problems when I remove the extern declaration from the class definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions