Gottox / node-pdfutils

tool for analyzing and converting PDF
103 stars 23 forks source link

g_type_init is deprecated #11

Closed niftylettuce closed 10 years ago

niftylettuce commented 10 years ago

npm output:

λ ~/Public/project/ master* npm install -S pdfutils                                                                            ∞
npm http GET https://registry.npmjs.org/pdfutils
npm http 304 https://registry.npmjs.org/pdfutils

> pdfutils@0.3.2 install /Users/someuser/Public/project/node_modules/pdfutils
> node-gyp rebuild

  CXX(target) Release/obj.target/pdfutils/src/document.o
  CXX(target) Release/obj.target/pdfutils/src/page.o
  CXX(target) Release/obj.target/pdfutils/src/page_job.o
  CXX(target) Release/obj.target/pdfutils/src/init.o
../src/init.cc:9:2: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
        g_type_init();
        ^
/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0/gobject/gtype.h:667:23: note: 'g_type_init' declared here
void                  g_type_init                    (void);
                      ^
1 warning generated.
  CXX(target) Release/obj.target/pdfutils/src/svg_size_hack.o
  CXX(target) Release/obj.target/pdfutils/src/link.o
  SOLINK_MODULE(target) Release/pdfutils.node
  SOLINK_MODULE(target) Release/pdfutils.node: Finished
pdfutils@0.3.2 node_modules/pdfutils
Gottox commented 10 years ago

Please make a proper bugreport.

What do you want to be fixed? What is wrong with the situation?

g_type_init() is deprecated since 2.36. Anyway, I haven't any informations about the versions who need this call and if they are used in any distribution. As long as I am not sure if I break something by fixing the warning, it will stay in.

niftylettuce commented 10 years ago

I just got the error so I assumed I would mark it as a bug (which it is a bug if you are using some dependency that is deprecated). Not sure why you closed this, as it is not resolved and directly occurs when you run npm install pdfutils.

On Thu, May 29, 2014 at 7:45 PM, Enno Boland notifications@github.com wrote:

Please make a proper bugreport.

What do you want to be fixed? What is wrong with the situation?

g_type_init() is deprecated since 2.36. Anyway, I haven't any informations about the versions who need this call and if they are used in any distribution. As long as I am not sure if I break something by fixing the warning, it will stay in.

— Reply to this email directly or view it on GitHub https://github.com/Gottox/node-pdfutils/issues/11#issuecomment-44599591.

Gottox commented 10 years ago

I can't see any error, only a warning.