Pragma code_seg is similar to pragma codeseg, but with this one you can only modify the name and the class of a code segment. If you use the wrong syntax, you get this warning.
The following examples show the correct usage:
#pragma code_seg()
#pragma code_seg("foo")
#pragma code_seg("foo", "bar")
However, the following incorrect examples will all produce the warning:
#pragma code_seg(foo)
#pragma code_seg(foo, bar)
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|