[Monetdb-developers] Compilation warnings MonetDB/SQL

Stefan Manegold Stefan.Manegold at cwi.nl
Mon Sep 25 15:51:07 CEST 2006


While being quite strict with out compilation options for MonetDB (-Wall,
-Werror), there was no enough time / man power to also clean the code of all
add-ons when the strict option where introduced (a couple of years ago).
Hence, for sql, monet5 and amdb (the latter two CWI internal), we
"back-then" relaxed the strict options with "-Wno-sign-compare" to get them
compile at all --- apparently, there hasn't been any time/ manpower during
the last couple of years either to clean the code accordingly.
Any contribution/help is more than welcome.

Stefan

On Wed, Sep 20, 2006 at 01:26:58PM +0200, Fabian Groffen wrote:
> Here a list of warnings produced for MonetDB/Five.  It includes one
> type-pun in logger.mx.
> 
> Making and installing MonetDB in /ufs/fabian/scratch/vtmp/build-five-monetdb-pegasus.ins.cwi.nl/monetdb
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_instruction.mx: In function 'instruction2str':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_instruction.mx:2404: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_interpreter.mx: In function 'runMAL':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_interpreter.mx:686: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_parser.mx: In function 'parseEnd':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_parser.mx:1320: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_readline.mx: In function 'readConsole':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/mal/mal_readline.mx:483: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/atoms/str.mx: In function 'STRinsert':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/atoms/str.mx:2249: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/kernel/algebra.mx: In function 'doALGfetch':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/kernel/algebra.mx:2914: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/kernel/logger.mx: In function 'log_read_format':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/kernel/logger.mx:225: warning: dereferencing type-punned pointer will break strict-aliasing rules
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/armada.mx: In function 'ARMADAgetStep':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/armada.mx:480: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/armada.mx: In function 'ARMADAgetTrail':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/armada.mx:517: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_int':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_int':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_lng':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_lng':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_flt':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_flt':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_dbl':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_dbl':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_LE_date':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'CRKcrackUnorderedZero_RE_date':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:1763: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LO_RE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LE_RE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LO_RO_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LE_RO_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectSingle_RO_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectSingle_RE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectSingle_LO_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectSingle_LE_chr':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LO_RE_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LE_RE_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LO_RO_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx: In function 'JoinSelectRange_LE_RO_sht':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/crackers.mx:4577: warning: comparison between signed and unsian/scratch/monetdb/five/monetdb/src/modules/mal/partitions.mx: In function 'BPTdeposit2':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/partitions.mx:443: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/rsbox.mx: In function 'RSBtake':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/rsbox.mx:436: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/rsbox.mx: In function 'RSpopulateColumn':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/rsbox.mx:774: warning: comparison between signed and unsigned
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/tablet.mx: In function 'TABshowRange':
> /ufs/fabian/scratch/monetdb/five/monetdb/src/modules/mal/tablet.mx:2344: warning: comparison between signed and unsigned
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list