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.

Missing google::int32 in raw_logging.h. #712

@xkszltl

Description

@xkszltl

We got the following error when using raw_logging.h.

In file included from bazel-out/k8-opt/bin/external/com_github_google_glog/_virtual_includes/default_glog_headers/glog/raw_logging.h:44:
bazel-out/k8-opt/bin/external/com_github_google_glog/_virtual_includes/default_glog_headers/glog/vlog_is_on.h:113:16: error: no type named 'int32' in namespace 'google'
extern google::int32 kLogSiteUninitialized;
       ~~~~~~~~^
bazel-out/k8-opt/bin/external/com_github_google_glog/_virtual_includes/default_glog_headers/glog/vlog_is_on.h:124:13: error: no type named 'int32' in namespace 'google'
    google::int32** site_flag,
    ~~~~~~~~^
bazel-out/k8-opt/bin/external/com_github_google_glog/_virtual_includes/default_glog_headers/glog/vlog_is_on.h:125:13: error: no type named 'int32' in namespace 'google'
    google::int32* site_default,
    ~~~~~~~~^
bazel-out/k8-opt/bin/external/com_github_google_glog/_virtual_includes/default_glog_headers/glog/vlog_is_on.h:127:13: error: no type named 'int32' in namespace 'google'
    google::int32 verbose_level);
    ~~~~~~~~^
4 errors generated.

Seems the definition is in logging.h but it wasn't included.

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