octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60884] [octave forge] (geometry) Compile with


From: Juan Pablo Carbajal
Subject: [Octave-bug-tracker] [bug #60884] [octave forge] (geometry) Compile with g++ v11
Date: Wed, 7 Jul 2021 17:57:34 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Follow-up Comment #2, bug #60884 (project octave):

Tested on my side. The reported erro is fixed, there remains a warning


> pkg install geometry-4.0.1.tar.gz 
clipper.cpp: In function ‘void ClipperLib::InitEdge(ClipperLib::TEdge*,
ClipperLib::TEdge*, ClipperLib::TEdge*, const ClipperLib::IntPoint&)’:
clipper.cpp:750:34: warning: ‘void* memset(void*, int, size_t)’ clearing
an object of non-trivial type ‘struct ClipperLib::TEdge’; use assignment
or value-initialization instead [-Wclass-memaccess]
  750 |   std::memset(e, 0, sizeof(TEdge));
      |                                  ^
clipper.cpp:95:8: note: ‘struct ClipperLib::TEdge’ declared here
   95 | struct TEdge {
      |        ^~~~~
warning: doc_cache_create: unusable help text found in file 'clipper'
warning: called from
    doc_cache_create>handle_function at line 98 column 5
    doc_cache_create>create_cache at line 118 column 36
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 16
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 570 column 9

For information about changes from previous versions of the geometry package,
run 'news geometry'.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60884>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]