make-w32
[Top][All Lists]
Advanced

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

Bug report: Compile with Microsoft and Intel compiler


From: Jerker Bäck
Subject: Bug report: Compile with Microsoft and Intel compiler
Date: Tue, 26 Apr 2005 13:28:28 +0200

Sorry but
The following solution of warning 4101 is wrong:
----------------------------------
main.c(831):error C4101: unreferenced local variable

solution: comment out
int fd
----------------------------------
Can not comment out - may be needed

Solution:
#pragma warning(disable : 4101)
Or
int fd;
UNREFERENCED_PARAMETER(fd);
Where
#define UNREFERENCED_PARAMETER(P) (P)

Kind regards
Jerker Bäck





reply via email to

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