Keil Logo Arm Logo

Compiler Reference Guide

Old-style C parameters in C++ functions

Old-style C parameters in C++ functions

The ADS v1.2 and RVCT v1.2 C++ compilers enabled you to use old-style C parameters in C++ functions. That is,

void f(x) int x; { }

In the RVCT v2.x compilers or above, you must use the --anachronisms compiler option if your code contains any old-style parameters in functions. The compiler warns you if it finds any instances.

Copyright © 2007-2008, 2011-2012 ARM. All rights reserved.ARM DUI 0376D
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.