Commit graph

144 commits

Author SHA1 Message Date
lfittl
c68642eb5f - Disabled -Weffc++ flag, fixing these warnings produces too much useless code
- Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@499 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 23:11:57 +00:00
rich_sposato
7acf9ff6be Added ConstLockingPtr class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@498 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 19:36:34 +00:00
rich_sposato
963c55994f Added functions to Mutex class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@497 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 19:36:09 +00:00
syntheticpp
319f949eee make rimpl type really a reference
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@495 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-18 19:03:25 +00:00
syntheticpp
794fd6ba56 move definition of the destructor to extra file, because msvc tries to use the incomplete type; not inlining does not help; maybe this is a compiler bug.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@493 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-18 16:49:32 +00:00
syntheticpp
8840afc7dd add LockPtr test with a Mutex and Thread class. Now it is possible to do some simple cross platform multithreading withhin Loki
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@491 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-17 11:18:38 +00:00
syntheticpp
a6e8b74fd7 fix undefined behaviour
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@482 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 18:21:01 +00:00
lfittl
658a2e5c79 - Removed for loop from test/Makefile to make it work with mingw
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@481 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 14:44:07 +00:00
syntheticpp
c69cdedf2e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@480 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:30:26 +00:00
syntheticpp
47e962d64b clean up
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@479 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:29:09 +00:00
syntheticpp
95fadc5260 msvc work around
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@476 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 00:05:02 +00:00
syntheticpp
2287a53487 add memory leak detection
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@475 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 23:17:57 +00:00
syntheticpp
de2a6e513d linux fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@474 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:32:54 +00:00
syntheticpp
0efd57d86d remove also .o and .exe when cleaning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@473 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:15:56 +00:00
syntheticpp
95b163d2bd add pimpl/rimpl tests
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@472 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:09:32 +00:00
syntheticpp
faa06a862b - make.msvc.bat: remove all object files when finished\n - src/Makefile: add rm *.o
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@467 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:43:18 +00:00
syntheticpp
316c01306d make SafeFormat linkable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@466 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:21:33 +00:00
lfittl
44f7af2935 - Don't create temporary object files anymore, use implicit rule for binaries
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@464 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 00:02:44 +00:00
lfittl
d51dd537ea - Make it easier to overwrite CXXFLAGS, by using CPPFLAGS for loki specific stuff
- Don't create temporary object files anymore, use implicit rule for binaries
- Removed unneeded DESTDIR= line


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@463 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 23:56:13 +00:00
syntheticpp
facc431d5a fix for msvc7.1
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@457 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:09:21 +00:00
syntheticpp
21262bcd3b disable warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@456 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:06:55 +00:00
syntheticpp
d2372341f3 fix for msvc7.1
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@454 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:51:44 +00:00
syntheticpp
dd83739b20 fix makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@453 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:36:34 +00:00
syntheticpp
5a3972d804 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@452 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:27:01 +00:00
lfittl
3f7449d7bc Make it easier to add a new test subtarget
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@451 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 23:29:44 +00:00
syntheticpp
32b4c0a8fa fix printing pointers
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@449 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 14:38:29 +00:00
syntheticpp
f09bf76ce3 remove last msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@448 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 10:31:24 +00:00
lfittl
898b1a5312 Fixed .PHONY targets
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@446 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 03:19:49 +00:00
lfittl
ec5c81cb93 Updated SmallObj test Makefile to fit renaming of SmallSingleton to SmallObjSingleton
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@445 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 03:09:05 +00:00
syntheticpp
7e3cf8faf4 no lib needed
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@440 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:49:25 +00:00
syntheticpp
21341bc317 independent from libloki, use namespace loki, remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@435 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:28:37 +00:00
syntheticpp
972ba9915b rename Small->SmallObj
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@434 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:05:19 +00:00
syntheticpp
70fdd98598 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@432 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:48:24 +00:00
syntheticpp
a53275bb8f swap names
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@431 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:40:29 +00:00
syntheticpp
7702fbfd00 renome project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@429 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:31:55 +00:00
syntheticpp
019b01fe36 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@428 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:29:10 +00:00
syntheticpp
8814dc7790 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@427 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:21:13 +00:00
syntheticpp
29e7199a27 msvc8 + toolkit fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@426 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 14:07:49 +00:00
syntheticpp
ddff4acea3 remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@423 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:31:14 +00:00
syntheticpp
ee494e1c57 add -DNDEBUG
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@422 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:20:11 +00:00
syntheticpp
56fe17d96e update msvc makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@420 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:11:45 +00:00
syntheticpp
727b519348 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@419 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:03:44 +00:00
syntheticpp
c9fa59ada0 improve test program (gcc fails test 22 and 41)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@418 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 12:55:42 +00:00
syntheticpp
62be08b797 remove msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
98d9388dfb test fails because snprintf does not support 64bit values, therefore tests on negative integer values is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@415 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:24:39 +00:00
syntheticpp
c65487fd89 assert, include path, and virtual ~ patches by Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 09:55:09 +00:00
syntheticpp
d5a206bb96 always use #include <loki/...>, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@413 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:23:44 +00:00
syntheticpp
4a676debee remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00
syntheticpp
dd7235322b remove system(PAUSE) for gcc, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@409 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:54:30 +00:00
syntheticpp
5a9457da09 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@408 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:45:08 +00:00