oops, sorry about that. i have now tried the cpp file:
#include <stdio.h>
void test_fn()
{
char *szBuffer = "102";
int count;
sscanf(szBuffer, "%d", &count);
}
with .NET 2002 it will not compile with stdlib.h
this file is fine, with static symbols turned on or off.
switching to:
#include "main.h"
void test_fn()
{
char *szBuffer = "102";
int count;
sscanf(szBuffer, "%d", &count);
}
where main.h file includes stdio.h, and i still cannot reproduce this problem.
when you say the "standard header file", do you simply mean one of your own header files?
my header file, in total, is:
#include <stdio.h>
/**
This is first line of comment.
BEWARE: Here goes another text, that was intentionally separated
from the surrounding text.
Very usefull table:
col1 | col2 | col3 | col4
some_value11 | | value13 |
| value22 | | value24
Some long strange explanation starts here.
*/
static int copyFile(const char *pszFrom, const char *pszTo);
i was testing another bug report with this project, which is where the odd comment came from. it is as if there is something about your standard header file that is confusing VAX.