lxh

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Feature Request: Updated pre-built GNU toolchain #3200
    lxh
    Participant

    I’d like to add to the request list an updated toolchain for Raspberry Pi 🙂

    in reply to: Force linking a library #3145
    lxh
    Participant

    There are 2 main differences in Symbol table .dynsym.

    The working version includes:

    • 48: 000090b0 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4
    • 9: 00015168 4 OBJECT GLOBAL DEFAULT 24 __stack_chk_guard@GLIBC_2.4

    Furthermore, a couple of minor differences in the 7th parameter (NDX?) of the output (e.g. 26 vs 24)

    in the table .symtab, the same number of entries are present, the order is slightly different (lots of numbers that are not so meaningful to me). The difference is that the correct executable has these entries (not surprising given the above)

    • __stack_chk_fail@@GLIBC_2
    • __stack_chk_guard@@GLIBC_

    I’m stumped

    how do I create a map file? Is that with LDFLAGS including -Xlinker -Map=output.map?

    in reply to: IntelliSense woes after adding -std=c++0x #3049
    lxh
    Participant

    Thanks, I added

    #ifdef _MSC_VER
    #undef __GXX_EXPERIMENTAL_CXX0X__
    #undef __STRICT_ANSI__
    #endif

    (just above the section that starts with // — Include directories begin — //), and that seems to work

    in reply to: IntelliSense woes after adding -std=c++0x #3048
    lxh
    Participant

    Some of the errors:

    	1	IntelliSense: inline specifier allowed on function declarations only	c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex	580	3
    2	IntelliSense: declaration is incompatible with function template "_Tp std::__complex_abs(const std::complex<_tp> &__z)" (declared at line 567)	c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex	581	3
    3 IntelliSense: identifier "__complex__" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 581 17
    4 IntelliSense: expected a ')' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 581 29
    5 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 581 40
    6 IntelliSense: _Norm_helper is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 644 12
    7 IntelliSense: inline specifier allowed on function declarations only c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 685 3
    8 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 685 10
    9 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 685 22
    10 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1191 12
    11 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1194 15
    12 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1194 27
    13 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1196 26
    14 IntelliSense: identifier "_ComplexT" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1196 34
    15 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1196 49
    16 IntelliSense: function "::complex" is not a type name c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1246 7
    17 IntelliSense: function "
    ::complex" is not a type name c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1253 7
    18 IntelliSense: function "
    ::complex" is not a type name c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1260 7
    19 IntelliSense: function "
    ::complex" is not a type name c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1267 7
    20 IntelliSense: function "
    ::complex" is not a type name c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1274 7
    21 IntelliSense: identifier "_ComplexT" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1333 30
    22 IntelliSense: identifier "_ComplexT" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1336 7
    23 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1342 12
    24 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1345 15
    25 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1345 27
    26 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1347 26
    27 IntelliSense: identifier "_ComplexT" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1347 34
    28 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1347 49
    29 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1495 3
    30 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1495 33
    31 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1496 3
    32 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1511 19
    33 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1511 39
    34 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1511 55
    35 IntelliSense: identifier "istream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1512 19
    36 IntelliSense: identifier "istream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1512 39
    37 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1512 49
    38 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1513 19
    39 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1513 39
    40 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1513 55
    41 IntelliSense: identifier "istream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1514 19
    42 IntelliSense: identifier "istream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1514 39
    43 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1514 49
    44 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1515 19
    45 IntelliSense: identifier "ostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1515 39
    46 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1515 55
    47 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1518 19
    48 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1518 40
    49 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1518 51
    50 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1519 19
    51 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1519 40
    52 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1519 57
    53 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1520 19
    54 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1520 40
    55 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1520 51
    56 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1521 19
    57 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1521 40
    58 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1521 57
    59 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1522 19
    60 IntelliSense: identifier "wistream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1522 40
    61 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1522 51
    62 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1523 19
    63 IntelliSense: identifier "wostream" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1523 40
    64 IntelliSense: complex is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1523 57
    65 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1530 1
    66 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1556 5
    67 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6complex 1559 1
    68 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 143 17
    69 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 144 22
    70 IntelliSense: identifier "__x" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 144 42
    71 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 144 47
    72 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 146 23
    73 IntelliSense: declaration is incompatible with " *_Rb_tree_increment" (declared at line 144) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 147 3
    74 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 147 28
    75 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 149 17
    76 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 150 22
    77 IntelliSense: identifier "__x" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 150 42
    78 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 150 47
    79 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 152 23
    80 IntelliSense: declaration is incompatible with "
    *_Rb_tree_decrement" (declared at line 150) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 153 3
    81 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 153 28
    82 IntelliSense: incomplete type is not allowed c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 320 3
    83 IntelliSense: type name is not allowed c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 320 33
    84 IntelliSense: expected a ')' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 320 44
    85 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 323 63
    86 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 325 3
    87 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 326 32
    88 IntelliSense: type name is not allowed c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 326 52
    89 IntelliSense: expected a ')' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 326 58
    90 IntelliSense: expected a ';' c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 327 41
    91 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 1567 30
    92 IntelliSense: identifier "_Rb_tree_node_base" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 1568 30
    93 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_tree.h 1609 1
    94 IntelliSense: explicit type is missing ('int' assumed) c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 113 2
    95 IntelliSense: identifier "_Compare" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 113 16
    96 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 114 2
    97 IntelliSense: expected a declaration c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 121 5
    98 IntelliSense: identifier "key_type" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 126 24
    99 IntelliSense: identifier "value_type" is undefined c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 126 34
    100 IntelliSense: _Select1st is not a template c:sysgccraspberryarm-linux-gnueabihfincludec++4.6bitsstl_map.h 126 46
    in reply to: C++11 and shared_ptr compile error #3045
    lxh
    Participant

    using dat->getContentType() is what I expected, but that does not work. In all examples I found using the shared_ptr is that it is a template that should work without defining any overloads.

    Perhaps it is just VisualStudio 2010 that does not implement support for C++11?

Viewing 5 posts - 1 through 5 (of 5 total)