Hi there,

in the current version of pytables, gcc gets the option -Wall causing a ton of warnings when compiling PyX code. Since this is a problem of PyX and not of PyTables, I would suggest suppressing these warnings (see attached patch).

Greetings,
Norbert

Index: pytables/setup.py
===================================================================
--- pytables.orig/setup.py      2006-07-28 10:42:25.000000000 +0200
+++ pytables/setup.py   2006-12-19 14:52:00.000000000 +0100
@@ -490,6 +490,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = hdf5Extension_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                        Extension("tables.TableExtension",
@@ -501,6 +502,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = TableExtension_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                        Extension("tables.utilsExtension",
@@ -515,6 +517,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = utilsExtension_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                        Extension("tables._comp_ucl",
@@ -525,6 +528,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = _comp_ucl_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                        Extension("tables._comp_lzo",
@@ -535,6 +539,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = _comp_lzo_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                        Extension("tables._comp_bzip2",
@@ -545,6 +550,7 @@
                                            ],
                                 library_dirs = lib_dirs,
                                 libraries = _comp_bzip2_libs,
+                               extra_compile_args = ['-w'],
                                 extra_link_args = LFLAGS,
                                 ),
                       ],
-------------------------------------------------------------------------
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
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to