]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add doc.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2001 11:23:44 +0000 (11:23 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2001 11:23:44 +0000 (11:23 +0000)
git-svn-id: https://svn.dealii.org/branches/Branch-3-2@5070 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/multithread_info.cc

index 00ab313f0ac5614e53bd6aee763a81b50b4949ab..e3a4367f9f1e259a9cd29eab5ba8a74727991054 100644 (file)
@@ -63,6 +63,15 @@ unsigned int MultithreadInfo::get_n_cpus()
 
 #else
 
+// if you get to see this warning, then this can have two reasons: either
+// because you fell through all of the above #if clauses and on your system
+// the detection of processors is really not implemented, or you are using
+// a compiler that does not understand the #warning directive, in which case
+// you will see a report on the screen even if the detection of processors
+// is implemented for your system. In the latter case, you need not worry
+// about the warning (although it is acknowledged that it is annoying),
+// otherwise you might want to consider implementing the missing feature
+// and submitting it back to the authors of the library.
 #warning Detection of Processors not supported on this OS
 
 unsigned int MultithreadInfo::get_n_cpus()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.