--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cpp-4.0-doc: cpp support "-O" option but not documented
- From: LI Daobing <lidaobing@gmail.com>
- Date: Thu, 17 Nov 2005 01:51:27 +0800
- Message-id: <437b7156.17e14059.4f90.ffff86a9@mx.gmail.com>
Package: cpp-4.0-doc
Version: 4.0.2-3
Severity: minor
Hello,
you can see[1] that cpp support -O, -O[1-9], -Os options, and these
options are meanful. but this is not documented in man page[2] and
info[3].
man page belongs to cpp-4.0, need I clone this bug?
[1]
$ cpp -dM /dev/null | grep OPT
$ cpp -dM -O /dev/null | grep OPT
#define __OPTIMIZE__ 1
$ cpp -dM -Os /dev/null | grep OPT
#define __OPTIMIZE__ 1
#define __OPTIMIZE_SIZE__ 1
$ cpp -dM -O2 /dev/null | grep OPT
#define __OPTIMIZE__ 1
[2] /usr/share/man/man1/cpp-4.0.1.gz
[3] /usr/share/info/cpp-4.0.info.gz
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Versions of packages cpp-4.0-doc depends on:
ii gcc-4.0-base 4.0.2-3 The GNU Compiler Collection (base
cpp-4.0-doc recommends no packages.
-- debconf-show failed
--- End Message ---