This repository was archived by the owner on Jun 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
Missing google::int32 in raw_logging.h. #712
Copy link
Copy link
Closed
Description
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.
Lines 113 to 116 in 9733727
@ac_google_start_namespace@ #if @ac_cv_have_uint16_t@ // the C99 format typedef int32_t int32; glog/src/glog/raw_logging.h.in
Lines 39 to 44 in f8c8e99
#include <ctime> @ac_google_start_namespace@ #include "glog/log_severity.h" #include "glog/vlog_is_on.h"
Metadata
Metadata
Assignees
Labels
No labels