Get the latest tech news

Some __nonstring__ Turbulence


[LWN subscriber-only content] New compiler releases often bring with them new warnings; those warnings are usually welcome, since they help developers find problems before they turn into nasty bugs. Adapting to new warnings can also create disruption in the development process, though, especially when an important developer upgrades to a new compiler at an unfortunate time.

Naturally, there is a way to suppress the warning when it does not apply by adding an attribute to the declaration indicating that the char array is not actually holding a string: Torvalds responded with a series of changes of his own, applied directly to the mainline about two hours before the release, to fix the problems that he had encountered. He asked Torvalds to revert the changes and use the planned fixes, adding: " It is, once again, really frustrating when you update to unreleased compiler versions".

Get the Android app

Or read this on Hacker News

Read more on:

Photo of turbulence

turbulence

Photo of nonstring

nonstring

Related news:

News photo

Turbulence at UN aviation agency as probe into potential data theft begins

News photo

ASML faces turbulence amid stock drop, customer delays

News photo

Korean Air cuts cabin services by 40 minutes to prevent turbulence related accidents, after Monday’s incident injured about 40 Air Europa passengers — ‘Turbulence is becoming more frequent, due to large temperature differences between altitudes’