040624Makefiles.txt ------------------- Create Makefile.inc that holds: - compiler options - flags for features referred to in multiple Makefiles, - location of 3rd party packages and - installation directory. 'include' Makefile.inc in all other Makefiles so that consistent flags are used to compile various kinds of objects. Enable more warnings, and more strict compilation in general. channels/Makefile: use g++ to generate chan_h323.so in order to easily link in the proper version of libstdc++. 040624src.txt ------------- ast_expr.y: Use the system's definition of QUAD_MIN on Fedora 2 and others that define LONG_LONG_MIN in limits.h. chan_alsa.c: #ifdef 0 out unused variable. chan_h323.c resolve duplicate definitions of *_cb. resolve namespace clash among include files. resolve pointer conversion warnings from g++. channels/chan_iax2.c: make find_tpeer() staic since almost everything else in the files is, and it isn't used or defined as exported anywhere else. Otherwise the compiler complains about the lack of a prototype. channels/h323/ast_h323.cpp: resolve clash among include files. wrap C language headers in extern "C" {}. channels/h323/ast_h323.h resolve clash amoung headers. channels/h323/chan_h323.h change *_cb definitions into declarations, so that they are not multiply defined. codecs/gsm/inc/config.h Use '#if 0' to comment out unused symbols rather than '/*' to avoid compiler warnings about nested comments. codecs/lpc10/* Enable -DP_R_O_T_O_T_Y_P_E_S, which identifies mismatch of function declarations. Resolve mismatch of a few functions that were declared as returning void but defined to return int. put declarations of f2c library functions into f2c.h. Move '#include "f2c.h" prior to subsequent usage of various types defined in f2c.h in the .c files.