Ticket #2262 (closed bug: fixed)
"restrict" keyword issue in posix/search.h
| Reported by: | kaliber | Owned by: | axeld |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | - General | Version: | R1 development |
| Cc: | scottmc | Blocked By: | |
| Platform: | All | Blocking: |
Description
Consider a axample:
#include <unistd.h>
#include <search.h>
int main() { return 0; }
and try to compile:
In file included from /boot/home/1.c:2: /boot/develop/headers/posix/search.h:35: conflicting types for `restrict' /boot/develop/headers/posix/search.h:35: previous declaration of `restrict'
Changing restrict to restrict fixes the problem, but I'm not sure that is a good solution.
Change History
Note: See
TracTickets for help on using
tickets.
