TOC PREV NEXT INDEX DOC LIST MASTER INDEX



A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z

C/C++ Compiler Reference Index

A

abort
function 82
Ada
linking Ada with C/C++ 47
linking switches 68
ALTERNATE_KEY 68
LINK_CLOSURE_LANGUAGES 68
alignment
addressable storage unit 84
ALTERNATE_KEY switch
Ada linking 68
anachronism
messages 8, 93
anachronistic constructs
C++ 91
APEX_CPP_MODEL switch 23
architectural control 5
C/C++ build management 42
implicit 4
arithmetic operation
C Languagecannot represent result 86
assembly file switches 65
S_OPTIONS 65
#assert directive 2, 70
assert function 80
-Atext 2

B

basic
C/C++ build management concepts 23
behaviors
C Language
implementation-defined 75
overview 75
undefined 84
unspecified 84
bitfield
layout 2
-bitfield_packing 2
bitset 96
bool
C++
disable 5
supported features 89
C++ options 92
boolean type
C++
disable 5, 92
supported features 89
breakpoint 102
buffering
file 81
build
C/C++ libraries 35
build keys
customize C/C++ 51
build management
C/C++ 21
C/C++ context switches 58
build policies
C/C++ views 22
compiling C/C++ views 33
customize C/C++ 48
BUILD_COMPONENT switch 59
Build_Control 58
BUILD_KEY switch 58
BUILD_PHASES switch 59
BUILD_POLICY switch 34, 45, 51, 58

C

-C 2
-Cppcmt 2
-c 11
C compilation and linking switches
C_LINK_MODE 61
C_LINK_PRE_OPTIONS 61
C_OPTIONS 61
C_PRE_OPTIONS 61
DEBUGGING 62
OPTIMIZATION_LEVEL 62
PROFILING 62
C compilaton and linking switches
C_LINK_OPTIONS 61
C++
anachronistic constructs 91
language support 89
standard library 95
supported features 89
unsupported features 91
C++ compilation and debugging switches
DEBUGGING 64
C++ compilation and linking switches
CPP_LINK_MODE 63
CPP_LINK_OPTIONS 62
CPP_LINK_PRE_OPTIONS 62
CPP_OPTIONS 62
CPP_PRE_OPTIONS 62
CPP_PTREPOSITORY _ARTIFACT_EXTS 64
CPP_PTREPOSITORY_ARTIFACT_NAMES 64
CPP_PTREPOSITORY_MODE 63
OPTIMIZATION_LEVEL 64
PROFILING 64
C++ library 95
default 8, 95
namespace std 7
new 5, 96
old 8, 95
Rogue Wave 5, 96
C++ Standard Template Library 5, 96
C_LINK_MODE switch 61
C_LINK_OPTIONS switch 61
C_LINK_PRE_OPTIONS switch 61
C_OPTIONS switch 31, 61
C_PRE_OPTIONS switch 61
calling
member functions 103
casting
C++, new cast notation 89
catch 6, 92, 104
C/C++
Ada linking 47
build magement commands 25
build management 21
basic concepts 23
see also commands
standard models 21
compilation 28
linking main programs 42
view directory structure 55
visability control 38
C/C++ build management switches 58, 60
BUILD_COMPONENT 59
BUILD_KEY 58
BUILD_PHASES 59
BUILD_POLICY 58
CLOSURE_COMPILATION 60
CONFIGURATION 61
CPP_COMPILER_HOME 59
CPP_COMPILER_VARIANT 59
CREATE_ARCHIVED_LIBRARY 60
LIBRARY_NAME 61
LINK_CLOSURE_POLICY 60
MAKE_OPTIONS 61
SHARED_LIBRARY_NAME 61
-cfg 11
char 77
signed 9, 94
unsigned 10, 94
character sets
C Language 76
character type
C Language 76
check
code rules 107
classes
breakpoints 102
constructors 102
clock function 83
CLOSURE_COMPILATION_POLICY switch 60
code generation 6
Code Rule Checker 107
predefined code rules 109
syntax 108
Code_Rules.sw 56, 108
command translation tables
C/C++ build management 52
commands
build management
overview 25
C/C++ build management 25
compilation commands 25
main program commands 27
maintenance and support commands 26
management commands 26
post-processing commands 26
pre-processing commands 25
registration commands 28
verification and test commands 25
compatibility mode 4
changes affecting program meaning 72
illegal constructions allowed 73
warning messages suppressed 74
compilation
C/C++ 28
artifacts 31
build management commands 25
dependencies 32
views 33
compile 1
compatibility mode 4
fast-path recompilation 3, 6
options 2
switches 1
traditional mode 4
compiler
C/C++ options 30, 31
CPP_COMPILER_KIND switch 29
compile-time errors
undefined behavior 84
compile-time instantiation 15
complex 97
computing
link contribution 44
configuration file 11
CONFIGURATION switch 43, 61
const_cast 89
constructors 102
Context Switches
C_OPTIONS 31
CPP_OPTIONS 31
CPP_PTREPOSITORY_NAME 33
DEBUGGING 31
OPTIMIZATION LEVEL 30, 31
PROFILING 30
context switches
ALTERNATE_KEY 68
assembly file 65
BUILD_COMPONENT
C/C++ build management 59
BUILD_KEY
C/C++ build management 58
BUILD_PHASES
C/C++ build management 59
BUILD_POLICY 34, 45, 51
C/C++ build management 58
C_LINK_MODE
C compilation and linking 61
C_LINK_OPTIONS
C compilation and linking 61
C_LINK_PRE_OPTIONS
C compilation and linking 61
C_OPTIONS
C compilation and linking 61
C_PRE_OPTIONS
C compilation and linking 61
C/C++ build management 58
CLOSURE_COMPILATION_POLICY
C/C++ build management 60
CONFIGURATION
C/C++ build management 61
CPP_COMPILER_HOME 30
C/C++ build management 59
C/C++ build management switches 59
CPP_COMPILER_KIND 30
CPP_COMPILER_VARIANT 30
C/C++ build management 59
CPP_LINK_MODE
C++ compilation and linking 63
CPP_LINK_OPTIONS 46
C++ compilation and linking 62
CPP_LINK_PRE_OPTIONS 46
C++ compilation and linking 62
CPP_OPTIONS
C++ compilation and linking 62
CPP_PRE_OPTIONS
C++ compilation and linking 62
CPP_PTREPOSITORY_ARTIFACT_EXTS
C++ compilation and linking 64
CPP_PTREPOSITORY_ARTIFACT_NAMES
C++ compilation and linking 64
CPP_PTREPOSITORY_MODE 63
CPP_PTREPOSITORY_NAME
C++ compilation and linking switches
CPP_PTREPOSITORY_NAME 63
CREATE_ARCHIVED_LIBRARY
C/C++ build management 60
CREATE_SHARED_LIBRARY
C/C++ build management 60
DEBUGGING 30
C compilation and linking 62
C++ compilation and debugging 64
DELIVER_OBJECTS
delivery 67
DELIVER_OBJECTS_1...9
delivery 67
DELIVER_TO_DIRECTORY
delivery 67
DELIVER_TO_DIRECTORY_1...9
delivery 67
delivery 67
DEPENDENCIES
non-Apex C/C++ compilation 67
JAVA_CLASSPATH
Java compilation and linking 64
JAVA_HOME
Java compilation and linking 64
JAVA_OPTIONS
Java compilation and linking 64
JAVAC_OPTIONS
Java compilation and linking 64
LIBRARY_NAME
C/C++ build management 61
link contribution 65
LINK_CLOSURE_LANGUAGES 68
LINK_CLOSURE_POLICY 44
C/C++ build management 60
LINK_CONTRIBUTION_DEFAULT_MODE
link contribution 66
LINK_CONTRIBUTION_LIBRARY
link contribution 66
LINK_CONTRIBUTION_OPTIONS 45
link contribution 65
LINK_CONTRIBUTION_PRE_OPTIONS 44
link contribution 66
LINK_CONTRIBUTION_SHARED_LIBRAR Y
link contribution 66
LINK_CONTRIBUTION_SHARED_OPTION S
link contribution 66
LINK_CONTRIBUTION_SHARED_PRE_OP TIONS
link contribution 66
LINK_DEPENDENCIES
link contribution 67
local visibility 65
LOCAL_VISIBILITY_DISABLED
local visibility 65
LOCAL_VISIBILITY_EXCLUSIONS 40
local visibility 65
LOCAL_VISIBILITY_INCLUSIONS 40
local visibility 65
LOCAL_VISIBILITY_OVERRIDE_DEFAULT 41
local visibility 65
MAKE_OPTIONS
C/C++ build management 61
non-Apex C/C++ compilation 67
OPTIMIZATION_LEVEL
C compilation and linking 62
C++ compilation and linking 64
PROFILING
C compilation and linking 62
C++ compilation and linking 64
S_OPTIONS
assembly file 65
SHARED_LIBRARY_NAME
C/C++ build management 61
SIENNA
non-Apex C/C++ compilation 67
SIENNA_HOME
non-Apex C/C++ compilation 68
SIENNA_OPTIONS
non-Apex C/C++ compilation 68
contructs
illegal allowed in compatibility mode 73
conventions
lexical conventions 100
syntax conventions 100
covariant return types 89
CPP_COMPILER_HOME switch 30, 59
CPP_COMPILER_KIND switch 29, 30, 59
CPP_COMPILER_VARIANT switch 30, 59
CPP_LINK_MODE switch 63
CPP_LINK_OPTIONS switch 46, 62
CPP_LINK_PRE_OPTIONS switch 46, 62
CPP_OPTIONS switch 31, 62
CPP_PRE_OPTIONS switch 62
CPP_PTREPOSITORY_ARTIFACT_EXTS switch 33, 64
CPP_PTREPOSITORY_ARTIFACT_NAMES switch 33, 64
CPP_PTREPOSITORY_MODE switch 33, 63
CPP_PTREPOSITORY_NAME switch 33, 63
CREATE_ARCHIVED_LIBRARY switch 35, 60
CREATE_SHARED_LIBRARY switch 35, 60
custom_build 51
Customization.mk 47, 50, 56
Customization.prop 47, 56
customize
C/C++ build keys 51
C/C++ build policies 48

D

+d 2
database
templates 16
debugger
classes 102
expressions 101
locate files 99
member functions 103
reading files 100
scope 100
virtual functions 104
debugging information
suppress 7
DEBUGGING switch 30, 31, 62, 64
#define
preprocessor directive 2
define
new object classes
C/C++ build management 51
preprocessor assertion 2
definition entry
templates 16
delete
count in array form 91
overloading 89
DELIVER_OBJECTS switch 67
DELIVER_OBJECTS_1...9 switch 67
DELIVER_TO_DIRECTORY switch 67
DELIVER_TO_DIRECTORY_1...9 switch 67
delivery switches 67
DELIVER_OBJECTS 67
DELIVER_OBJECTS_1...9 67
DELIVER_TO_DIRECTORY 67
DELIVER_TO_DIRECTORY_1...9 67
dependencies
update 24
DEPENDENCIES switch 67
dependency generation
dependency file 12
dummy targets 12
standard output 11
suppress compile 12
Description.vdf 38
directory structure
C/C++ view 55
disable
local visibility 41
-Dname 2
-dryrun 11
-dynamic 2
dynamic linking 2
dynamic_cast 89

E

-E 2
+e0 3
+e1 3
-ef 3
-ei 3
enum
++ and -- operators 91
overloading 89
underlying type 9, 78, 94
errno 81
illegal reference 88
escape sequence
unspecified 86
exception handling 6, 92, 104
exceptions 89
explicit 90
exports
C/C++ build management 56
expressions 101
names 101
qualified names 101
scope resolution operator 101
extensions
#assert/#unassert 70
#ident 71
extern "C" 69
language constructs 69
long long 70
variadic functions 69

F

-fastpath 3
-fastpathverbose 3
file
multiple openings 81
file buffering 81
file names
valid 81
find
template source 15
-flags 11
floating point
constant folding 3
implementation-defined behavior 77
overflow 3
representation 77
floating types
representation 84
for statements 7, 93
-fpfold 3
-FW 4

G

-g 4
generate
code 6
dependency information 12
link script 11
position-independent code 8, 11
profiling information 8
shared library 13
virtual tables 3
generic 29
getenv function 82
global repository mode
C/C++ template instantiations 33
-gls 11
gprof 8

H

-H 4
heapmaper 111
-help 11

I

-I 4
#ident 71
ignore.reg 57
illegal constructs allowed
empty declarations 73
file with no tokens 73
function definition as last item 73
function pointer assignment 73
multiple static declarations 73
static declaration at file scope 73
untyped declarations of variables 73
wrong number of arguments 73
immediate references 37
implementation-defined behavior 75
arrays 78
bit fields 78
characters 76
declarators 79
enumerations 78
environment 75
floating point 77
identifiers 75
integers 77
pointers 78
preprocessing directives 79
qualifiers 78
registers 78
statements 79
structures 78
translation 75
unions 78
-implicitarch 4
imports
C/C++ build management directory structure 56
Imports/Description.vdf 38
#include 4, 6
include files
directories 4, 6
printing 4
include names
resolution 32
-inline 4
inline
force 4
suppress 6
int 77
integer
representation 77
integer overflow 3
I/O streams 97

J

Java compilation and linking switches 64
JAVA_HOME 64
JAVA_OPTIONS 64
JAVAC_OPTIONS 64
JAVA_CLASSPATH switch 64
JAVA_HOME switch 64
JAVA_OPTIONS switch 64
JAVAC_OPTIONS switch 64

K

-K 4

L

-L 4
-l 5
language constructs
extensions 69
language support
C++ 89
Libraries
C/C++ 35
libraries
build archive 13
directories 4, 6
link in 5
shared 13
library
C++ standard 95
name 12
shared 13
library function
not declared 87
library functions 79
LIBRARY_NAME switch 35, 61
link 1
build archive library 13
dynamic 2
generate script 11
libraries 5
library directories 4, 6
messages 6
options 2
partial 8
shared library 13
static 9
suppress 11
switches 1
link contribuion switches
LINK_CONTRIBUTION_SHARED_LIBRAR Y 66
link contribution of a view, C/C++ 44
link contribution switches 65
LINK_CONTRIBUTION 66
LINK_CONTRIBUTION_DEFAULT_MODE 66
LINK_CONTRIBUTION_OPTIONS 65
LINK_CONTRIBUTION_PRE_OPTIONS 66
LINK_CONTRIBUTION_SHARED_OPTION S 66
LINK_CONTRIBUTION_SHARED_PRE_OP TIONS 66
LINK_DEPENDENCIES 67
link modes 43
LINK_CLOSURE_LANGUAGES switch 68
LINK_CLOSURE_POLICY switch 43, 44, 60
LINK_CONTRIBUTION_DEFAULT_MODE switch 43, 66
LINK_CONTRIBUTION_LIBRARY switch 44, 66
LINK_CONTRIBUTION_OPTIONS switch 45, 65
LINK_CONTRIBUTION_PRE_OPTIONS switch 44, 66
LINK_CONTRIBUTION_SHARED_LIBRARY switch 44, 66
LINK_CONTRIBUTION_SHARED_OPTIONS switch 66
LINK_CONTRIBUTION_SHARED_PRE_OPTIO NS switch 66
link_contribution.query 48
LINK_DEPENDENCIES switch 43, 67
linker
platform 46
linking
Ada programs containing C/C++ 47
C/C++ main programs 42
Links
C/C++ build management 58
Immediate 37
Imported 37
Local 37
links
C/C++ build management 56
Local
C/C++ build control links 58
Local Repository Mode 33
Local Visibility Switches 40
local visibility switches 65
LOCAL_VISIBILITY 65
LOCAL_VISIBILITY EXCLUSIONS 65
LOCAL_VISIBILITY_INCLUSIONS 65
LOCAL_VISIBILITY_OVERRIDE_DEFAULT 65
LOCAL_VISIBILITY_DISABLED switch 41, 65
LOCAL_VISIBILITY_EXCLUSIONS switch 40, 65
LOCAL_VISIBILITY_INCLUSIONS switch 40, 65
LOCAL_VISIBILITY_OVERRIDE_DEFAULT switch 41, 65
locale 96
long int 77
long long 70
longjmp 87

M

-M 11
macro argument
no preprocessing tokens 87
main
return type 91
return value 90
main program commands
C/C++ build management 27
main program link contribution
C/C++ build management 46
Main Program Link Modes 43
main_programs.reg 57
main.dep 58
maintenance commands
C/C++ build management 26
MAKE_OPTIONS switch 61
Makefiles 21, 56
.Makefiles.rtnl 57
Makefiles
.Makefiles.rtnl/main.dep 58
management commands
C/C++ build management 26
-MD 12
member function visibility 103
member functions
calling 103
this 103
message format
UNIX style messages 9
-mt 5
multibyte characters
conversions 76
shift states 76
multiple options files
templates 18
multi-threading 5
mutable 90

N

Name space management, C/C++ 36
names 101
namespace 89
std 7
navigation
sienna 108
new
const objects 91
overloading 89
-newlib 5
-noaltkeywords 5
-noarch 5
-nobool 5
C++ compiler option 5
C++ options 92
-nocode 6
-nodef 6
-nodemangle 6
-noex 6
-nofastpath 6
-noinc 6
-noinline 6
-nolib 6
non-Apex C/C++ compilation switches 67
DEPENDENCIES 67
SIENNA 67
SIENNA_HOME 68
SIENNA_OPTIONS 68
-norose 7
-nortti 7
-nosienna 7
-notdbld 7
-ns_std 7
NULL 79
null pointer constant 79
numeric_limits 96

O

-O 7
-o 12
object classes
define new
C/C++ build management 51
object_files_content.query 48
-old_for 7
-oldlib 8
operators 101
optimization level 7
OPTIMIZATION_LEVEL switch 30, 31, 62, 64
options 2
affecting language 92
file 12
options file
templates 16
-options_file 12
other behavior
undefined behavior 85
output file 12

P

-P 8
+p 8
-p 8
-partial 8
partial link 8
-pg 8
-pic 8
platform linker 46
Policy 57
C/C++ build management 56
Code_Rules.sw 56
Customization.mk 47, 50
ignore.reg 57
main_programs.reg 57
Switches 56
Policy/Customization.mk 56
Policy/Customization.prop 47, 56
position-independent code 8, 11
post-processing commands
C/C++ build management 26
pragma
warn 71
pragmas
bitfield_packing 71
double_alignment 72
external_name 71
suppored 71
warnings 71
predefined code rule 109
preprocess only 2, 8
pre-processing commands
C/C++ build management 25
preprocessing tokens
illegal sequence 87
preprocessor assertion 2
preprocessor symbols
default 6
define 2
undefine 9
prof 8
profiling information 8
PROFILING switch 30, 62, 64
propagate 104
-pta 8
-pti 8
-ptn 8
-pto 9
-ptr 13
-pts 9
-ptv 9

Q

qualified names 101
qualified references 37

R

-r 9
.Rational 58
.Rational/Build_Control 58
.Rational/Build_Control/Links 58
.Rational/Build_Control/Links/Immediate 58
.Rational/Build_Control/Links/Imported 58
.Rational/Build_Control/Links/Local 58
reading
debugging files 100
references
immediate 37
qualified 37
registered sets 28
registration commands
C/C++ build management 28
reinterpret_cast 89
remove
on open file 81
rename 81
resolution of Iinclude names 32
Rogue Wave
Standard C++ Library 5, 96
RTTI 7, 89, 93
run-time type information 7, 89, 93

S

S_OPTIONS switch 65
scope 100
scope resolution operator 101
session switches
APEX_CPP_MODEL 23
setjmp
maco definition suppressed 87
macro or external identifier 84
-sh 13
-shared 13
shared library 13
SHARED_LIBRARY_NAME switch 61
C/C++ build management 35
short int 77
-shortenum 9
sienna
definition 107
generation 107
warning messages 111
sienna Navigation 108
SIENNA switch 67
SIENNA_HOME switch 68
SIENNA_OPTIONS switch 68
siennack 112
siennaer 112
siennanc 112
siennanr 112
siennard 112
siennawr 112
signal 80
result of abort or raise 87
-signed 9
signed char 9, 94
source file extensions
templates 18
SPARCompiler-4
C/C++ build management 29
specialization entry
templates 18
Spire.cfg 11
Standard C++ Template Library 5, 96
standard models
C/C++ build management 21
Standard Template Library 96
-static 9
static linking 9
static_cast 89
strerror
contents of strings 82
string 96
string literal
attempt to modify 86
structures
packing 78
padding 78
support commands
C/C++ build management 26
supported features
C++ 89
supported pragmas 71
suppress
anachronism messages 8, 93
architectural control 5
boolean type
C++ 5, 92
code generation 6
compile 11
debugging information 7
default library directories 6
exception handling 6, 92
inlining 6
linking 11
preprocessor symbols 6, 9
RTTI 7, 93
standard include directories 6
template prelinker 7
warning messages 10, 11
supress
warning messages in compatibility mode 74
Switches
Policy 56
switches 1
Ada linking 68
see also Ada linking switches, context switches and session switches
symbolic links
do not create 41
syntax
code rule checker 108
system function 82

T

template database
location 13
messages 9
template instantiations 33
Template.opt 16
templates 15
compile time instantiation 15
database 16
definition entry 16
finding sources 15
multiple options files 18
options file 16
source file extensions 18
specialization entry 18
unsupported features 91
test commands
C/C++ build management 25
this 103
threads
multi-threading 5
throw 6, 92
time
encoding of value 84
time zone 83
traditional mode 4
Translation Tables 52
trap
floating point overflow 3
signed integer overflow 3
try 6, 92
type
sizeof 78

U

-U 9
-ue 9
#unassert directive 70
#undef 9
undefined behavior 84
compile time errors 84
other behavior 85
-unsigned 10
unsigned char 10, 94
unspecified behavior 84
specified in this implementation 84
unsupported c++ expression forms 101
unsupported features
C++ 91
Utility Translation Table 54

V

-v 10
va_arg
illegal invocation 88
va_end
illegal invocation 88
macro or external identifier 84
va_start
illegal parameter 88
illegal return 88
valarray 96, 97
verbose mode 10
verification commands
C/C++ build management 25
view
closure sequence in C/C++ build management 43
directory structure 55
virtual functions 104
virtual tables 3
visibility
member functions 103
visibility control
C/C++ 38
C/C++ build management 36
visibility description file
C/C++ build management 38

W

+W 10
-W 10
-w 11
-wabort 11
warning messages
compatibility mode 74
fatal 4
sienna 111
suppress 10, 11
treat as errors 11
turn on 10
wchar_t 90, 96
-wi 11

X

-xar 13
-xgot 11

Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2002, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS