pr/tests/attach.c:170:2: error: unterminated conditional directive
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
People
(Reporter: jbeich, Assigned: Usul)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 3 obsolete files)
|
3.08 KB,
patch
|
KaiE
:
review+
gaston
:
feedback+
|
Details | Diff | Splinter Review |
$ 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
^
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Assignee | ||
Comment 3•6 years ago
|
||
Looks like I cleaned up and #else #endif too much in https://phabricator.services.mozilla.com/D24708#change-9ZG7lYM4ZRsr
Does it work with the attached patch ?
(In reply to Ludovic Hirlimann [:Usul] from comment #3)
Does it work with the attached patch ?
No, there're more such typos. comment 0 was edited to document all errors.
| Assignee | ||
Comment 5•6 years ago
|
||
I think This fixes everything you are seeing - I'm sorry I don't have a freebsd box for testing, can you let me know if this fixes everything?
(In reply to Ludovic Hirlimann [:Usul] from comment #5)
I think This fixes everything you are seeing
Looks same as v1.
I'm sorry I don't have a freebsd box for testing, can you let me know if this fixes everything?
Can you try to build tests on Linux or macOS? There's nothing FreeBSD-specific about these errors.
| Assignee | ||
Comment 7•6 years ago
|
||
of course, I should be diffing the dir, not a file :(
| Assignee | ||
Updated•6 years ago
|
Here's what I had in mind (except for #else in attach.c) before you've assigned the bug.
Kai, what value tests provide given they're not routinely built/run on Tier1 platforms?
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
(In reply to Jan Beich from comment #9)
Kai, what value tests provide given they're not routinely built/run on Tier1 platforms?
Very little... I had started to get them enabled in bug 1385061 and bug 1385039 but there's just always too much work waiting to be done.
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Updated•4 years ago
|
Description
•