Mercurial > pidgin
annotate src/protocols/sametime/Makefile.am @ 12600:e856f985a0b9
[gaim-migrate @ 14934]
Enable the extra warnings regardless of --enable-debug.
Enable FORTIFY_SOURCE regardless of --enable-debug, adding a --disable-fortify flag to configure.
Enable (well, stop disabling) the missing initializer warnings.
This leads to warnings with: GValue v = {0,}; that must be worked around.
Basically, instead of:
GValue v = {0,};
...
g_value_init(&v, G_TYPE_FOO); /* or other use of the GValue */
We'd need to do:
GValue v;
...
v.g_type = 0;
g_value_init(&v, G_TYPE_FOO); /* or other use of the GValue */
Fix several cases of missing initializers. I don't think any of these are bugs, but having this warning seems like a good idea. It might prevent us from making a mistake in the future.
While I was fixing missing initializers, I optimized substitute_simple_word in plugins/spellchk.c, in the same way as I did substitute_word before. Yes, I'm bad for committing these together.
Added a --enable-fatal-asserts flag to configure. As the name implies, this makes g_return_... guards fatal. This is a useful flag to run on a debug copy of Gaim. It will make it very clear if your changes have triggered one of these guards. It's also useful in detecting g_return_... abuse, which helps prevent crashes if Gaim is compiled with G_DISABLE_ASSERT defined.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Wed, 21 Dec 2005 18:36:19 +0000 |
| parents | f9d0ab1474ac |
| children |
| rev | line source |
|---|---|
| 10977 | 1 |
|
11097
97b47ec310df
[gaim-migrate @ 13125]
Richard Laager <rlaager@wiktel.com>
parents:
11093
diff
changeset
|
2 EXTRA_DIST = Makefile.mingw |
| 10977 | 3 |
| 4 | |
| 5 pkgdir = $(libdir)/gaim | |
| 6 | |
| 7 | |
| 11093 | 8 noinst_HEADERS = sametime.h |
| 10977 | 9 |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
10 SAMETIMESOURCES = sametime.c |
| 10977 | 11 |
| 12 | |
| 13 if STATIC_SAMETIME | |
| 14 | |
| 15 st = -DGAIM_STATIC_PRPL | |
| 16 noinst_LIBRARIES = libsametime.a | |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
17 libsametime_a_SOURCES = $(SAMETIMESOURCES) |
| 10977 | 18 libsametime_a_CFLAGS = $(AM_CFLAGS) |
| 19 | |
| 20 else | |
| 21 | |
| 22 st = | |
| 23 pkg_LTLIBRARIES = libsametime.la | |
|
11435
1a2eaba2bc13
[gaim-migrate @ 13672]
Gary Kramlich <grim@reaperworld.com>
parents:
11097
diff
changeset
|
24 libsametime_la_SOURCES = $(SAMETIMESOURCES) |
| 10977 | 25 |
| 11093 | 26 |
| 10977 | 27 endif |
| 28 | |
| 29 | |
| 30 libsametime_la_LDFLAGS = -module -avoid-version -no-undefined | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
31 libsametime_la_LIBADD = $(GLIB_LIBS) $(MEANWHILE_LIBS) |
| 10977 | 32 |
| 33 | |
| 34 AM_CFLAGS = \ | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
35 $(GLIB_CFLAGS) $(MEANWHILE_CFLAGS) \ |
| 10977 | 36 $(DEBUG_CFLAGS) \ |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
37 -I$(top_srcdir)/src |
| 10977 | 38 |
| 39 | |
| 40 AM_CPPFLAGS = \ | |
|
12496
f9d0ab1474ac
[gaim-migrate @ 14808]
Christopher O'Brien <siege@pidgin.im>
parents:
11862
diff
changeset
|
41 -DG_LOG_DOMAIN=\"sametime\" \ |
| 10977 | 42 $(st) |
| 43 |
