Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glog 0.7.1 #174577

Closed
wants to merge 1 commit into from
Closed

glog 0.7.1 #174577

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/g/glog.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Glog < Formula
desc "Application-level logging library"
homepage "https://github.com/google/glog"
url "https://github.com/google/glog/archive/refs/tags/v0.6.0.tar.gz"
sha256 "8a83bf982f37bb70825df71a9709fa90ea9f4447fb3c099e1d720a439d88bad6"
url "https://github.com/google/glog/archive/refs/tags/v0.7.1.tar.gz"
sha256 "00e4a87e87b7e7612f519a41e491f16623b12423620006f59f5688bfd8d13b08"
license "BSD-3-Clause"
head "https://github.com/google/glog.git", branch: "master"

Expand All @@ -28,7 +28,7 @@
system "cmake", "--build", "build", "--target", "install"
end

test do

Check failure on line 31 in Formula/g/glog.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose glog` failed on Linux!

/home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1521:21: error: expected primary-expression before ‘const’ 1521 | const char* base_filename, int line, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1521:48: error: expected primary-expression before ‘int’ 1521 | const char* base_filename, int line, | ^~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1522:21: error: expected primary-expression before ‘const’ 1522 | const LogMessageTime& time, const char* message, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1522:49: error: expected primary-expression before ‘const’ 1522 | const LogMessageTime& time, const char* message, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1523:28: error: expected primary-expression before ‘message_len’ 1523 | size_t message_len); | ^~~~~~~~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1525:3: error: ‘GLOG_DEPRECATED’ does not name a type 1525 | GLOG_DEPRECATED | ^~~~~~~~~~~~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1543:3: error: ‘virtual’ outside class declaration 1543 | virtual void WaitTillSent(); | ^~~~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1547:31: error: ‘LogSeverity’ was not declared in this scope; did you mean ‘google::LogSeverity’? 1547 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~~~~~~~~~ | google::LogSeverity In file included from /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:77, from test.cpp:1: /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/log_severity.h:62:6: note: ‘google::LogSeverity’ declared here 62 | enum LogSeverity { | ^~~~~~~~~~~ In file included from test.cpp:1: /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1547:53: error: expected primary-expression before ‘const’ 1547 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1547:71: error: expected primary-expression before ‘int’ 1547 | static std::string ToString(LogSeverity severity, const char* file, int line, | ^~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1548:31: error: expected primary-expression before ‘const’ 1548 | const LogMessageTime& time, const char* message, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1548:59: error: expected primary-expression before ‘const’ 1548 | const LogMessageTime& time, const char* message, | ^~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1549:38: error: expected primary-expression before ‘message_len’ 1549 | size_t message_len); | ^~~~~~~~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1550:1: error: expected declaration before ‘}’ token 1550 | }; | ^ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1553:1: error: two or more data types in declaration of ‘AddLogSink’ 1553 | GLOG_EXPORT void AddLogSink(LogSink* destination); | ^~~~~~~~~~~ /home/linuxbrew/.linuxbrew/Cellar/glog/0.7.1/include/glog/logging.h:1553:38: error: ‘destination’ was not declared
(testpath/"test.cpp").write <<~EOS
#include <glog/logging.h>
#include <iostream>
Expand Down
Loading