annotate admin/notes/cpp @ 63323:ccf928f0383c

(x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg to CreateDIBSection to avoid a compiler warning. (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler warning. (png_load): Cast return values of fn_png_create_read_struct and fn_png_create_info_struct, to avoid compiler warnings on W32. Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent to avoid compiler warnings. (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler warning. (tiff_load): Cast return values of fn_TIFFOpen and fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler warning. (gif_load): Cast return values of fn_DGifOpenFileName and fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler warning. (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef before redefining.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 11 Jun 2005 16:24:36 +0000
parents 695cf19ef79e
children 375f2633d815 c3512b2085a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50518
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
1 ttn 2003-04-09
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
2
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
3 we use a C preprocesor not only in the normal compilation of .c files
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
4 into object files, but also for creating
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
5
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
6 src/Makefile
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
7 lib-src/Makefile
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
8
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
9 (delimited by comment "start of cpp stuff"). some cpp implementations
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
10 insert whitespace in between tokens, which explains the "$(dot)$(dot)"
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
11 and "UNEXEC_ALIAS" workarounds for unixoid systems and the bundled
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
12 tradcpp/ for vms. [NOTE: tradcpp/ not yet checked in.]
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
13
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
14 during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
15 this should not be defined for normal .c file compilation.
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
16
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
17 there has been discussion on eliminating this use of cpp and relying
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
18 solely on autoconf processing. rms says to leave it be.
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50518
diff changeset
19
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50518
diff changeset
20 ;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0