Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
with shellinabox-2.4.tar.gz

Original comment by [email protected] on 14 Feb 2009 at 5:02

from shellinabox.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
In general -Werror is a great option as it forces code to be written more 
cleanly and
portably. In most cases, compilers only warn about code that is rather suspect. 
So,
it makes sense to avoid these issues.

The problem happens when compilers invent new experimental and aggressive 
warnings,
and distributions then decide to crank up the default warning level past the
recommended settings. Ubuntu for some reason decides to ship with "-Wformat=2" 
by
default. Normally, "gcc" does not turn on this warning, as it is known to 
generate a
large number of false positives (as you just discovered, yourself).

I implemented some work-arounds that should tell the compiler that no warning is
necessary. I tested compilation with "-Wformat=2" and it now passes. This code 
is now
in Subversion.

But it is possible that Ubuntu turned on some other aggressive warnings that 
trigger
in other parts of the code. If so, please let me know and I'll add work-arounds 
for
those, too.

Original comment by [email protected] on 15 Feb 2009 at 8:10

from shellinabox.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024

Original comment by [email protected] on 15 Feb 2009 at 8:10

  • Changed state: Fixed

from shellinabox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.