Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Error compiling through cmake on aarch64 platform #780

@tangtang666

Description

@tangtang666

In the newest master versin,error compiling through cmake on aarch64 platform,but this old commit 5316599 can build success.

error info

# after
# cmake -S . -B build -G "Unix Makefiles"
# cmake --build build
glog-master/build/glog/logging.h:469:15: error: expected constructor, destructor, or type conversion before ‘(’ token
 DECLARE_uint32(max_log_size);

system-(aarch64)

Distributor ID: Debian
Description:    Debian GNU/Linux 9.13 (stretch)
Release:        9.13
Codename:       stretch

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions