[ playerstage-Patches-2960672 ] camerav4l2: missing extern "C" in bayer.h
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
Patches item #2960672, was opened at 2010-02-28 15:46
Message generated for change (Tracker Item Submitted) made by newchief
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2960672&group_id=42445
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Player
Group: Release-3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paul Osmialowski (newchief)
Assigned to: Brian Gerkey (gerkey)
Summary: camerav4l2: missing extern "C" in bayer.h
Initial Comment:
Since this C code is mixed with C++ class, extern "C" should be added in bayer.h like this:
#ifdef __cplusplus
extern "C" {
#endif
extern void bayer2rgb24(unsigned char *dst, unsigned char *src, long int WIDTH, long int HEIGHT);
#ifdef __cplusplus
}
#endif
After applying this, still compiles fine.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=433166&aid=2960672&group_id=42445
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev