C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Wed, 28 Aug 2024 15:09:23 +0300
On Wed, 28 Aug 2024 at 15:00, Tiago Freire via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> > We were in a situation where I could validly post a bug report to the third-party library "your code is non-conforming; please fix it". In the future, we are in a situation where I can't do that anymore, and I need to post a bug report to my compiler vendor "#pragma once is broken".
>
> That's does sound a lot like bullying developers with the standard in order to change their code to your preferred way of working.

It sounds like being able to report portability problems, which
#pragma once is riddled with, without there being a weasel response
saying that the code must be fine since it's using a standardized facility.

Received on 2024-08-28 12:09:38