[PR #562] [MERGED] Fix compilation issue with BROTLI_ALLOC macro using GCC 7 #1206

Closed
opened 2026-01-29 20:52:58 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/562
Author: @Exagone313
Created: 6/17/2017
Status: Merged
Merged: 6/17/2017
Merged by: @eustas

Base: masterHead: master


📝 Commits (1)

  • 61390d6 Fix compilation issue with BROTLI_ALLOC macro using GCC 7 (-Wint-in-bool-context)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 c/enc/memory.h (+1 -1)

📄 Description

Fixes #561.
The issue is with GCC 7 that adds a check -Wint-in-bool-context.
Maybe you'd prefer to disable this check instead?

(Note: I haven't signed the CLA yet.)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/562 **Author:** [@Exagone313](https://github.com/Exagone313) **Created:** 6/17/2017 **Status:** ✅ Merged **Merged:** 6/17/2017 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`61390d6`](https://github.com/google/brotli/commit/61390d6a342ea35e24f6bd8234f32a826111a804) Fix compilation issue with BROTLI_ALLOC macro using GCC 7 (-Wint-in-bool-context) ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `c/enc/memory.h` (+1 -1) </details> ### 📄 Description Fixes #561. The issue is with GCC 7 that adds a check `-Wint-in-bool-context`. Maybe you'd prefer to disable this check instead? (Note: I haven't signed the CLA yet.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:52:58 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1206