Ivan-sistema / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

A lot of warnings & errors on Ubuntu Lucid Lynx x86 #205

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
-What steps will reproduce the problem?
1. $ ./configure --enable-optimized
2. $ make ENABLE_OPTIMIZED=1

-What is the expected output? What do you see instead?
Successful builds of source files of course. Instead, there are a lot of 
warnings (nearly 3-4 warnings in each source file) and occasional errors.

Some common warnings are as follows:
warning: type qualifiers ignored on function return type
warning: suggest parentheses around arithmetic in operand of ‘^’
warning: suggest parentheses around ‘&&’ within ‘||’

Some common errors are as follows:
error: ‘strlen’ is not a member of ‘std’
error: ‘strcmp’ was not declared in this scope
etc.

These errors are fixed by including proper standard libraries in the mentioned 
source files.

-What version of the product are you using? On what operating system?
Ubuntu 10.04 Lucid Lynx x86, using c++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Original issue reported on code.google.com by equilibr...@gmail.com on 28 Aug 2010 at 9:26