Re: [PATCH v2 2/2] gas: disable SFrame warnings if default-enabled

Project / Subsystem

binutils / gas

Date

2026-09-25

Proposer

Sam James <sam@gentoo.org>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Ensuring portability by avoiding compiler-specific extensions.
  • • Maintaining the intended warning suppression logic across different C standards.

All attributes

project
binutils
subsystem
gas
patch_id
—
discussion_id
874ifdbpt0.fsf@gentoo.org
source_type
public_inbox
title
Re: [PATCH v2 2/2] gas: disable SFrame warnings if default-enabled
headline
gas: Disable SFrame warnings if default-enabled
tldr
A discussion on removing a GCC extension for variable argument lists (`__VA_ARGS__`) from gas's SFrame warning macro to improve portability.
proposer
Sam James <sam@gentoo.org>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Ensuring portability by avoiding compiler-specific extensions.
  • • Maintaining the intended warning suppression logic across different C standards.
series_id
binutils:gas: disable sframe warnings if default-enabled
series_role
reply
series_parts
  • • {"title":"gas: disable SFrame warnings if default-enabled","url":"https://inbox.sourceware.org/binutils/7412e0a0-bb47-456e-a655-01d5f4c77e09@suse.com"}
  • • {"title":"gas: disable SFrame warnings if default-enabled","url":"https://inbox.sourceware.org/binutils/cc7fa897c458eff874dd765b51361b98d3688623.1790321423.git.sam@gentoo.org"}
tags
  • • gas
  • • binutils
  • • warnings
  • • portability
  • • sframe
bugzilla_url
—
date
2026-09-25T00:00:00.000Z

Re: [PATCH v2 2/2] gas: disable SFrame warnings if default-enabled

Sam James is asked by Jan Beulich to remove a GCC-specific __VA_ARGS__ extension from the sframe_as_warn macro in gas. The macro is intended to suppress warnings when SFrames are enabled by default. James acknowledges the issue, attributing it to a long-running branch, and agrees to fix it.