mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 04:39:31 +00:00
![wtc%netscape.com](/assets/img/avatar_default.png)
This is because BSD systems have a funciton named 'index' in <string.h>, and if you compile with the -Wshadow flag, gcc warns that our declaration of `index' shadows global declaration. Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report and the suggested workaround.