3.10 Constraints |
-
Both set and global compiler variable names may not be empty, they must not contain white space, must start with a letter and must consist of alphanumeric characters. Cyrillic or Chinese letters are not alphanumeric characters. If CodeBlocks is given invalid character sequences as names, it might replace them without asking.
-
Variable and member values may contain arbitrary character sequences, subject to the following three constraints:
-
You may not define a variable by a value that references the same variable or any of its members
-
You may not define a member by a value that references the same member
-
You may not define a member or variable by a value that references the same variable or member through a cyclic dependency.
-
CodeBlocks will detect the most obvious cases of recursive definitions (which may happen by accident), but it
will not perform an in-depth analysis of every possible abuse. If you enter crap, then crap is what you will
get; you are warned now.
Defining
wx.include as
$(#wx)/include is
redundant, but perfectly legal Defining
wx.include as
$(#wx.include) is
illegal and will be detected by CodeBlocks Defining
wx.include as
$(#cb.lib) which
again is defined as
$(#wx.include) will
create an infinite loop
3.9 Names and Members
3.11 Using Global Compiler Variables
Created: 2010/25/05 11:52 Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH