Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Equivalent of lseek, open etc functions in Windows?

HCL
Beginner
685 Views
Hi, I am using Intel C++ with Visual Studio Community 2015, When I compile C functions that call the open, read, lseek etc POSIX functions in Windows, I got messages saying 'warning #266 function "lseek" declared implicitly' for example. I found from Microsoft's documentations that suggest using _open, _read, _lseek instead. Is this the only solution? Does Intel C++ come with its own C run time libraries that have the lseek etc functions? HCL
0 Kudos
2 Replies
HCL
Beginner
685 Views
Hi again, I have accepted than I have to use those _open, _lseek functions. Please considered this thread closed. HCL
0 Kudos
KitturGanesh
Employee
685 Views

@HCL, understood, thx. Intel Compiler is 1:1 compatible with MS...

_Kittur

0 Kudos
Reply