os/ossrv/genericopenlibs/cppstdlib/stl/test/compiler/README
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
1. About this tests
sl@0
     2
sl@0
     3
This is tests to check whether compiler understand or not some language
sl@0
     4
construction. It is NOT tests for language support libraries, only tests for
sl@0
     5
compiler!
sl@0
     6
sl@0
     7
The main purposes of this tests is to help for developers to find correct
sl@0
     8
workarounds, if compiler don't understand some (correct) language constructions.
sl@0
     9
sl@0
    10
--------------------------------------------------------
sl@0
    11
sl@0
    12
2. Compilation
sl@0
    13
sl@0
    14
Compilation with GNU Make utility and gcc compiler:
sl@0
    15
sl@0
    16
make -f gcc.mak -k
sl@0
    17
sl@0
    18
sl@0
    19
sl@0
    20
--------------------------------------------------------
sl@0
    21
sl@0
    22
Notes about tests.
sl@0
    23
sl@0
    24
ttei1.cpp, ttei2.cpp, ttei3.cpp, ttei4.cpp, ttei5.cpp:
sl@0
    25
sl@0
    26
tests for template-in-the-template explicit specialization.
sl@0
    27
Indeed ttei3.cpp, ttei4.cpp, ttei5.cpp suggest syntax not approved by standard
sl@0
    28
(14.7.3, paragraphs 16--18), but ttei3.cpp, ttei4.cpp accepted (recheck!) by VC6,
sl@0
    29
while ttei5.cpp accepted by gcc before 3.4.0.