How do I get Polyspace Code Prover to recognize the printf function?

1 visualización (últimos 30 días)
Craig
Craig el 3 de Sept. de 2013
Respondida: Christian Bard el 29 de En. de 2014
When I try to verify some code that simply includes a call to "printf()", it throws the error below.
"Error: missing required prototype for varargs. procedure 'printf'."
How can I get Polyspace Code Prover to recognize this stdio call? I've tried to add the path to the stdio.h file to the "Include" section of my project.

Respuestas (1)

Christian Bard
Christian Bard el 29 de En. de 2014
For this question, there are many answers like for instance relaunching with -D __polyspace_no_printf. It depends mainly of the options, log file and includes that have been added. I recommend you to contact Technical Support with complete log file. A plus would also to provide a small sample that reproduces behavior.

Categorías

Más información sobre Troubleshooting in Polyspace Products for Ada en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by