[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] Werror with ECJ

Hey everyone,
While working on https://bugs.eclipse.org/bugs/show_bug.cgi?id=547470 I figured I need a way to tell ECJ (standalone) to treat all enabled warnings as error (aka Werror with other compilers - javac, gcc and probably others). Unfortunately, I wasn't able to figure a way to do it - '-err' seem to always enable given category problem while what I'm looking for is for the equivalent of "Treat above errors like fatal compile errors" (org.eclipse.jdt.core.compiler.problem.fatalOptionalError ?).
Any hints are more than welcome.

Alexander Kurtakov
Red Hat Eclipse Team