When the libc unit ($FPCSOURCE/rtl/netwlibc/libc.pp) is in the uses clause of a unit, it happens that code explorer gets confused, and whenever you click on "Find Declaration", if the target isn't in the current unit, it opens the libc unit, around a macNS finderInfo record, on the line:
0 : ( generic : array[0..31] of byte );and reports an error:
"An identifier was expected but generic has been found." Commenting out the libc brings back everything to normal.
FPC 2.2.0, platform linux, widgetset irrelevant.
Giuliano
