TNS/R Native Application Migration Guide
C and C++ Migration Tasks
TNS/R Native Application Migration Guide—523745-001
3-19
Removing Obsolete Pragmas
Removing Obsolete Pragmas
The native C and C++ compilers do not support the pragmas in Table 3-4 on 
page 3-19. In most cases, you must remove the pragma from the source code. In a few 
cases, you might need to write additional code.
Table 3-4. Obsolete Pragmas (page 1 of 2)
Pragma Reason pragma is obsolete Action Required
ANSICOMPLY Pragma has been replaced by 
NOEXTENSIONS pragma.
None.The NOEXTENSIONS 
pragma is set by default.
[NO]CHECK The native C run-time library does 
not support the additional parameter 
checking provided by the TNS C 
run-time library.
Remove pragma.
CSADDR Native process memory architecture 
does not require use of pragma. 
Remove pragma.
LARGESYM Native compilers generate complete 
symbols information. Pragma is 
unnecessary.
Remove pragma.
[NO]LMAP Native compilers do not generate 
load map information.
Remove pragma.
[NO]NEST Native compilers do not support 
nested comments. The ISO/ANSI C 
Standard does not support nested 
comments.
Remove pragma and nested 
comments.
OLDCALLS Native compilers do not support 
B-series C language function calling 
behavior.
Remove pragma and change 
code to eliminate B-series C 
language function calling 
behavior.
SQLMEM Native process memory architecture 
does not require use of pragma.
Remove pragma.
STRICT Native compilers perform similar 
syntactic and semantic checking by 
default. 
Remove pragma.
TRIGRAPH Native compilers always translate 
trigraph characters.
Remove pragma and change 
code that treats each character in 
a trigraph as a C token.
VERBOSE Native compilers in OSS 
environment do not write compiler 
banners.
Remove pragma.










