Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Codan woes

On Friday, February 21, 2014 18:38:25 Dr. Christoph Pospiech wrote:
> The latest Codan hiccup is flagging the string "F_SETLKW" in the function
> call  "fcntl(fd, F_SETLKW, &write_lock)" as error (Symbol 'F_SETLKW' could
> not be resolved), but hovering the mouse pointer over "fcntl" produces a
> window (eventually the man page) that lists  F_SETLKW as valid entry for
> the second parameter. Apparently, Codan has problems to parse through
> "/usr/include/fcntl.h", or doesn't find /usr/include/x86_64-linux-
> gnu/bits/fcntl.h. The latter file has the missing definition.

At least I found the solution to *this* problem - add the include path 
"/usr/include/x86_64-linux- gnu/bits" to the list in 
ProjectManager->Properties->C/C++General->Paths and Symbols;
then force Eclipse to regenerate the index.
-- 

Mit freundlichen Grüßen / Kind regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter 
Scholz, Gregor Pillen, Christian Noll, Ivo Koerner
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 / WEEE-Reg.-Nr. DE 99369940 



Back to the top