Am Samstag, 1. März 2014, 15:10:52 schrieb bartokk:
> Hi all,

Hi.

> today I get a lot of messages like this "error:
> /home/mauro/darktable/src/iop/vignette.c:107: found a pointer. you really
> shouldn't do that (if it's in the type used for parameters)." compiling
> darktable from git master.
> 
> After compilation is finished I can install darktable reguraly, and it
> works.
> 
> Any idea?

These are warnings that can just be ignored. They are raised when generating 
the iop introspection code and only a hint to the developers. I will turn them 
off eventually.

Technical explanation ahead:

We now have a parser for a subset of C (basically only typedefs, and not even 
that completely) that is used to generate code that describes the structure of 
the data blob stored as presets and/or parameters for darkroom modules. Since 
these things get stored across darktable sessions and passed between computers 
(they end up in XMP files, the database, ...) they should obviously not contain 
pointers (the * things in C). However, at the point in time when the parser 
sees the pointer it doesn't know yet if the code in question ends up in the 
params, so it raises the warning even if it's no error. Once the introspection 
code has had time to mature a bit I will turn all these warnings (there are 
more) off by default.

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to