Updated Unofficial FAQ (markdown)

This commit is contained in:
Dominik Picheta 2014-06-09 13:47:41 -07:00
parent ae3f24df55
commit aeaeacf0bb
1 changed files with 15 additions and 1 deletions

View File

@ -44,4 +44,18 @@ You can find examples in the [examples/](https://github.com/Araq/Nimrod/tree/mas
Tabs are treated differently by different tools and editors. Because indentation is so important in Nimrod it is much simpler to outright forbid tabs in source code than to risk the mixing of tabs and spaces. Guido van Rossum of Python himself has said that if he were to design Python again he would forbid tabs. Tabs are treated differently by different tools and editors. Because indentation is so important in Nimrod it is much simpler to outright forbid tabs in source code than to risk the mixing of tabs and spaces. Guido van Rossum of Python himself has said that if he were to design Python again he would forbid tabs.
Nimrod is certainly not unique in forbidding tabs. [YAML](http://www.yaml.org/faq.html) does the same. Nimrod is certainly not unique in forbidding tabs. [YAML](http://www.yaml.org/faq.html) does the same.
# I get an error trying to compile Nimrod on Windows.
If this error looks something like the following:
```
c_code/nimbase.h:382:13: error: size of array 'assert_numbits' is negative
typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof
(NI)*8 ? 1 : -1];
```
Then you are likely trying to compile the C sources with a 64bit version of GCC. If you are trying to do this then you should note that there is a ``build64.bat`` file which you should execute instead of the ``build.bat`` file.
If the error does not resemble the above then the problem is likely with the C sources. Ask for help on IRC or submit an issue on github!