ashish-codeware / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

passing --disable-warningerrors doesn't actually do anything #275

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run 'configure --disable-warningerrors'
2. note the output of the configure run includes:

checking whether to treat warnings as errors... yes

What is the expected output? What do you see instead?

If passed --disable-warningerrors, it should return:

checking whether to treat warnings as errors... no

What operating system and JVM version are you using.

Linux archie 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz GenuineIntel GNU/Linux

JVM is irrelevant at this stage.

Basically, the setting on line 2993 of the configure script, setting 
enable_warrnignerrors=yes, overrides (or prevents) any other changes by the 
flags. This is important because the current svn snapshot has a couple of 
warnings about unused varaibles that cause the 'ant run-tests' stage to fail.

Original issue reported on code.google.com by jda...@gmail.com on 21 Sep 2011 at 2:58