[kalzium] [Bug 400223] New: Please do not define the macro R: the variable R is used in Eigen and causes a name collision

Yuri bugzilla_noreply at kde.org
Tue Oct 23 23:26:33 BST 2018


https://bugs.kde.org/show_bug.cgi?id=400223

            Bug ID: 400223
           Summary: Please do not define the macro R: the variable R is
                    used in Eigen and causes a name collision
           Product: kalzium
           Version: unspecified
          Platform: Other
                OS: FreeBSD
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kalzium at kde.org
          Reporter: yuri at tsoft.com
  Target Milestone: ---

In file included from
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/kalzium.cpp:44:
In file included from
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/tools/moleculeview.h:19:
In file included from src/ui_moleculeviewerwidget.h:29:
In file included from
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/tools/../../compoundviewer/kalziumglwidget.h:17:
In file included from /usr/local/include/avogadro/glwidget.h:34:
In file included from /usr/local/include/eigen3/Eigen/Core:491:
/usr/local/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:1589:30:
error: expected unqualified-id
              SResPacketHalf R = res.template gatherPacket<SResPacketHalf>(i,
j2);
                             ^
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/calculator/gasCalculator.h:31:11:
note: expanded from macro 'R'
#define R 0.08206
          ^
In file included from
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/kalzium.cpp:44:
In file included from
/wrkdirs/usr/ports/science/kalzium-kde4/work/kalzium-4.14.3/src/tools/moleculeview.h:19:
In file included from src/ui_moleculeviewerwidget.h:29:


Log URL:
http://beefy5.nyi.freebsd.org/data/104i386-default/482808/logs/kalzium-kde4-4.14.3_5.log

Found during the FreeBSD port build.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kalzium mailing list