Skip to content

Commit

Permalink
Add headers missing for compilation with GCC (microsoft#1468)
Browse files Browse the repository at this point in the history
Things that required such update included:
* `wstringstream`
* `setprecision`
* `SCODE_CODE`, `E_BOUNDS`
* Various SAL macros
  • Loading branch information
janisozaur authored Feb 1, 2021
1 parent 007eccd commit d4be504
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CalcManager/CEngine/History.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Header Files/CalcEngine.h"
#include "Command.h"
#include "ExpressionCommand.h"
#include "winerror_cross_platform.h"

constexpr int ASCII_0 = 48;

Expand Down
2 changes: 2 additions & 0 deletions src/CalcManager/CEngine/scicomm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
* Author:
\****************************************************************************/

#include <iomanip>
#include <string>
#include <sstream>
#include "Header Files/CalcEngine.h"
#include "Header Files/CalcUtils.h"
#include "NumberFormattingUtils.h"
Expand Down
1 change: 1 addition & 0 deletions src/CalcManager/CEngine/scifunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/*** ***/
/**************************************************************************/
#include "Header Files/CalcEngine.h"
#include "winerror_cross_platform.h"

using namespace std;
using namespace CalcEngine;
Expand Down
1 change: 1 addition & 0 deletions src/CalcManager/ExpressionCommandInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <memory> // for std::shared_ptr
#include <vector>
#include "Command.h"
#include "sal_cross_platform.h"

class ISerializeCommandVisitor;

Expand Down
1 change: 1 addition & 0 deletions src/CalcManager/NumberFormattingUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#pragma once

#include <string>
#include "sal_cross_platform.h"

namespace CalcManager::NumberFormattingUtils
{
Expand Down

0 comments on commit d4be504

Please sign in to comment.