Bug 1575821 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

```c
$ cc --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

$ ./configure; gmake -sj8; gmake -sj8 -C lib/tests; gmake -sj8 -C pr/tests
attach.c:170:2: error: unterminated conditional directive
#ifdef _PR_PTHREADS
 ^
attach.c:275:2: error: expected '}'
}
 ^
attach.c:109:1: note: to match this '{'
{
^
attach.c:176:8: error: use of undeclared label 'exit_now'
                goto exit_now;
                     ^
3 errors generated.
```
```c
$ cc --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

$ ./configure; gmake -sj8; gmake -sj8 -C lib/tests; gmake -sj8 -C pr/tests
attach.c:170:2: error: unterminated conditional directive
#ifdef _PR_PTHREADS
 ^
attach.c:275:2: error: expected '}'
}
 ^
attach.c:109:1: note: to match this '{'
{
^
attach.c:176:8: error: use of undeclared label 'exit_now'
                goto exit_now;
                     ^
3 errors generated.
nonblock.c:44:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
nonblock.c:117:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
2 errors generated.
```
```c
$ cc --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

$ ./configure; gmake -sj8; gmake -sj8 -C lib/tests; gmake -sj8 -C pr/tests
attach.c:170:2: error: unterminated conditional directive
#ifdef _PR_PTHREADS
 ^
attach.c:275:2: error: expected '}'
}
 ^
attach.c:109:1: note: to match this '{'
{
^
attach.c:176:8: error: use of undeclared label 'exit_now'
                goto exit_now;
                     ^
nonblock.c:44:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
nonblock.c:117:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
stack.c:56:22: error: expected end of line in preprocessor expression
#if defined(__WINS__))
                     ^
```
```c
$ cc --version
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

$ ./configure; gmake -sj8; gmake -sj8 -C lib/tests; gmake -sj8 -C pr/tests
attach.c:170:2: error: unterminated conditional directive
#ifdef _PR_PTHREADS
 ^
attach.c:275:2: error: expected '}'
}
 ^
attach.c:109:1: note: to match this '{'
{
^
attach.c:176:8: error: use of undeclared label 'exit_now'
                goto exit_now;
                     ^
nonblock.c:44:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
nonblock.c:117:57: error: use of undeclared identifier 'UNIT_TIME'
    PRIntervalTime unitTime = PR_MillisecondsToInterval(UNIT_TIME);
                                                        ^
stack.c:56:22: error: expected end of line in preprocessor expression
#if defined(__WINS__))
                     ^
testfile.c:78:2: error: #endif without #if
#endif
 ^
```

Back to Bug 1575821 Comment 0