This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000636] tests/tm_basic.cxx: bad definition for max()
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Thu, 13 Nov 2008 17:49:58 +0000
- Subject: [Bug 1000636] tests/tm_basic.cxx: bad definition for max()
- References: <bug-1000636-13@http.bugs.ecos.sourceware.org/>
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000636
David Tylski <david.tylski@parrot.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.tylski@parrot.com
--- Comment #1 from David Tylski <david.tylski@parrot.com> 2008-11-13 17:49:57 ---
This has minor consequences since this bad definition may only be used in
main() as sanity checks:
// Sanity
#ifdef WORKHORSE_TEST
ntest_threads = max(512, ntest_threads);
nmutexes = max(1024, nmutexes);
nsemaphores = max(1024, nsemaphores);
nmboxes = max(1024, nmboxes);
ncounters = max(1024, ncounters);
ntimers = max(1024, ntimers);
#else
ntest_threads = max(64, ntest_threads);
nmutexes = max(32, nmutexes);
nsemaphores = max(32, nsemaphores);
nmboxes = max(32, nmboxes);
ntimers = max(32, ntimers);
#endif
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.