tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Look, Is this TCC's bug?


From: ShangHongzhang 62185
Subject: [Tinycc-devel] Look, Is this TCC's bug?
Date: Wed, 05 Sep 2007 16:39:51 +0800

HI, all

  Given a statement like:
  
  int a = 0;
  ((void (*) ()) a) (1);

  we can easly known that there exist a error, as complained by MSVC: "void 
(__cdecl *)(void)': too many actual parameters", but TCC can compile these 
without any error!?

Regards!

Jack Shang
商红章
Data Communication Product Line, General Technology Dept.
HUAWEI Technologies Co., Ltd. (www.huawei.com)
HuaWei Bld., No.3 Xinxi Rd., 
Shang-Di Information Industry Base,
Hai-Dian District Beijing P.R. China




reply via email to

[Prev in Thread] Current Thread [Next in Thread]