FTBFS on illumos due to FS macro defined

Bug #1329663 reported by Igor Pashev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf

Bug Description

/src/core/modules/Skybright.cpp:110:14: error: expected unqualified-id before numeric constant
  const float FS = 18886.28f / (distSun*distSun + 0.0007f)

FS is a system macros on illumos.

There is a check above:

#if defined(__NetBSD__) || defined(__SUNOS__)
#undef FS
#endif

But it is a very strange check :-)

Please consider using
#if defined(FS)
#undef FS
#endif

Related branches

summary: - FTBFS on illusmos dure to FS macro defined
+ FTBFS on illumos due to FS macro defined
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Should be fixed by commit 6851.

Thanks!

Changed in stellarium:
milestone: none → 0.13.0
assignee: nobody → Alexander Wolf (alexwolf)
importance: Undecided → Low
status: New → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.