Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • spam spam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ttk
  • spamspam
  • Issues
  • #22

Closed
Open
Created Sep 01, 2017 by Emmanuel Roubin@roubineOwner

gcc warning Using deprecated NumPy API

There's a good old warning when DICtoolkit is compiled:

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/eigen3 -I/home/3S-LAB/eroubin/software/ttk/RandomWaffle/venv/local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tools/DIC/src/DICToolkit_wrap.cpp -o build/temp.linux-x86_64-2.7/tools/DIC/src/DICToolkit_wrap.o -fopenmp -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/3S-LAB/eroubin/software/ttk/RandomWaffle/venv/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
                 from /home/3S-LAB/eroubin/software/ttk/RandomWaffle/venv/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                 from /home/3S-LAB/eroubin/software/ttk/RandomWaffle/venv/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from tools/DIC/src/DICToolkit_wrap.cpp:3047:
/home/3S-LAB/eroubin/software/ttk/RandomWaffle/venv/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
 #warning "Using deprecated NumPy API, disable it by " \
```

Not sure it is very important but sure is annoying... We looked it up a while ago with Eddy without any success.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking