text:
Disable part of PowerToys via Registry/command line

Summary of the new feature/enhancement
Would like to automate disabling the feature of PowerToys I might not be using without having to open the UI.
Proposed technical implementation details (optional)
Ideally, this would be going to the Registry and setting some flags.  I do see that a couple of apps have exactly this (HKCR\Software\Microsoft\ImageResizer) but it doesn't look like the UX is using this value for toggling.  Not about to suggest that everything could be under HKCR\Software\Microsoft\PowerToys because I image somethings are scattered throughout the Registry (especially plugins for Explorer) but for the rest, it would be good to know how to disable things without the UX.
Rationale: I find that I'm setting up a new PC (or three) every week and now that I'm able to automate the install with winget, I'm hoping only run what I need.

you can do it via the json settings file.  unless we have to touch reg, we don't

That would be this one? %LOCALAPPDATA%\Users\ransan\AppData\Local\Microsoft\PowerToys\settings.json
Do I have to restart or just flip the JSON?
Also, if the recent versions are strictly using the JSON, is there a reason why the Registry has entries for some of the apps?  Again, not the previewers DLL's - I know they need to be in the Registry for explorer.exe - but for the other apps?  Or should they be tracked as bugs?

Yes. If we don’t need it they should be ripped out. But yes, some need reg.
I’m pretty sure the new setting engine should enable that.

I'll do some research the next time I do a fresh install and file the bugs.
And yes: if I flip a setting in the JSON file, it immediately pops in the Settings UX.
Thanks!

if I flip a setting in the JSON file, it immediately pops in the Settings UX

But it's not reloaded by each module (not yet).

That's fine, for me at least: I'm doing this while bringing up a new box so there are many reboots on either side of updating the JSON file.

authors: crutkas enricogior randyrants


text:
Hide Dotfiles (File Explorer)

📝Feature Request: Basically what the title says.
I was thinking it would be nice if there were some way for File Explorer to automatically hide dotfiles. Surely I'm not the only one whose home directory looks like this:

I think adding something like this to the File Explorer configuration tab would be helpful:

If you'd like to see this feature implemented, add a 👍 reaction to this post.

For this Topic I found this: https://www.gobowen.com/node/308

These are folders, not files
This is an awfully specific thing. I personally don't feel the need.
You can manually hide these folders in their properties.

I wouldn't want to hide my dotfiles either.

But that's probably why this is an option. So it wouldn't matter if everyone likes the idea

I can see this being useful.  Simple flag to set for hidden.

While settings the hidden flag kind of works, it's also problematic to cover edge cases, for example how is this supposed to work when browsing a shared location?
It's not an option to set the dot-folders to hidden since it's no a local disk, and on the reverse side, how is supposed to work when the option is off and you navigate to a remote share that has the option on?

Could be set for only local. To me this would be a proactive monitoring system for folders with the leading period.

Hi, all! Glad to see this is getting some attention! I'd just like to clarify some things:

For others like myself who are coming from *nix, this would be a pretty useful feature to reduce clutter and make dotfiles behave as expected. The reason files/directories even start with a dot to begin with is so they can be hidden, after all.
I wouldn't really consider "just manually hiding them" to be a viable alternative, and the same goes for using a batch script with the Task Scheduler. Just because these (rather roundabout) solutions are technically possible without PowerToys doesn't mean that making this much easier with PowerToys wouldn't be of any help.
"I wouldn't use this personally" isn't much of a reason to discourage this feature, either. I personally don't use FancyZones or Image Resizer, but I still welcome them because they bring more workflow options to Windows power users.

This is one of the things that holds me back from switching from Mac to Windows!
dot-files are hidden files under Linux and under MacOS - please!!!! add this feature for Windows too.
Now that WSL gains more popularity it is a no-go to show all those hidden Linux files in Windows Explorer

Now that WSL gains more popularity it is a no-go to show all those hidden Linux files in Windows Explorer
This is very true. Accessing the file system for WSL in File Explorer makes it look like a mess if you have multiple dotfiles in many folders. Adding a option to hide these would be great.

If there isn't someone already working on this, I would like to take a stab at it. This appears to be the latest consensus so I will use it as a starting point:

Could be set for only local. To me this would be a proactive monitoring system for folders with the leading period.

@octos4murai There isn't someone working on this right now. Thank you for your offer. This feature is a big one and because of that we need a specification on this which explains why this feature is useful, what the (non-)goals are, how you want to implement it and so on. You can look at the wiki specs page for inspiration. You can find more information about taht in the specs readme. If you think you're not able to write a spec, please just tell me. I'm sure I would find time to do it myself or help you, but it would be better if you could do it, because you know how you want to implement it.
For help on developing please contact @crutkas.
And if you start developing it or writing the spec please let me know so I can add the "in progress" label

@octos4murai There isn't someone working on this right now. Thank you for your offer. This feature is a big one and because of that we need a specification on this which explains why this feature is useful, what the (non-)goals are, how you want to implement it and so on. You can look at the wiki specs page for inspiration and to look how our specs are built. You can find more information about that in the specs readme. If you think you're not able to write a spec, please just tell me. I'm sure I would find time to do it myself or help you, but it would be better if you could do it, because you know how you want to implement it.
For help on developing please contact @crutkas.
And if you start developing it or writing the spec please let me know so I can add the "in progress" label

@Aaron-Junker Appreciate the guidance. I am new to the process of writing a spec but I can certainly consult the links you provided. When I am ready to start writing, I will let you know so you can add the appropriate label.

@Aaron-Junker it doesn't look like I am able to start on this anytime soon. I wanted to note this in case someone wants to jump in instead.

This is a Windows feature I would like to see, please.
As others in this thread have pointed out, the decades-long convention on POSIX systems (UNIX, Linux, macOS…) is that file browsers hide “dotfiles” (a term that includes both files & directories, because “everything is a file”).
Consider for example that macOS clients (still) create resource forks when writing to a shared network volume. These days, when writing to a network filesystem (like a Samba server) that isn't configured to support multiple data streams, macOS will write the “data fork” as just the filename — example.doc — and the “resource” fork will have a ._ dot-underscore prefix: ._example.doc.
On Mac clients, Finder sees these two files and automatically stitches them together, so only the example.doc item is shown in file listings. But on Windows, File Explorer doesn't associate resource fork files with their data fork files, so both ._example.doc and example.doc are displayed next to each other.
Now consider a busy shared volume where many Mac and Windows clients are interacting, and there are lots and lots of files authored by the Mac users. On the Macs, everything looks fine, but the Windows users will see lots of annoying ._* files, possibly one for every “real” file on the volume.
If dotfiles were hidden, then this would be a lot less annoying for Windows users sharing access to such shared storage.
And that's why just doing this for local storage is probably not an optimal solution: someone on their own laptop or whatever is not likely to encounter this scenario very often, unless they’re carrying over old habits from Linux. But anyone using shared Samba/SMB/CIFS storage with Mac users is likely to hit this on a regular basis.

I got here because I was looking for a solution to this problem.  I don't mind manually hiding them, but I am concerned about the viability of that  - or any solution that uses the same attribute based api.  Why this is, is because I have tried this before, and it resulted in some programs not working.  If memory serves, I think some node.js processes couldn't find the files in question.  If this has been fixed, then great, but it seems an important thing to know for sure before pursuing this seriously.  That said - I very much hate the clutter that is my home folder on Windows, and would love to see this implemented.

Out of curiosity and without knowing anything about how PowerToys operates, is there a feasible way to make Explorer hide dotfiles without marking the files as hidden? I would assume that would require injecting changes into Explorer or similar.

We'd change a file / folder attribute to hidden.  It wouldn't inject anything into FE but we'd have chances are a file system watcher that just detects folder rename / creation with a dot and if it isn't marked hidden, we'd mark it hidden.  As Enrico has referenced, we do have to be careful on network shares as we wouldn't want to mark something hidden that isn't on the local file system.

Powertoys is open source and uses only public APIs. Best way I know is to use a file/folder attribute.
Anyone aware of alternatives?

The alternative is to move this to closed-source explorer.exe, everything else cries for troubles.

Powertoys is open source and uses only public APIs. Best way I know is to use a file/folder attribute.
Anyone aware of alternatives?

Well technically you could replace the whole shell of explorer, but this seems more then out of scope.

Powertoys experiments and incubates ideas. The attribute concept could be how we’d test it.
There maybe some regkey that is documented I may not be aware of

Powertoys experiments and incubates ideas.

That's one of the things I like about it. That's also the case for the user - the toy can be enabled, and if there is an issue just be disabled later.
But the attribute concept would do a permanent change to the file system that can only be undone manually - so the experiment comes with a cost that none of the experiments so far had: permanent change.
And we also found out that this experiment could only work partially - not with network folders, not with read-only filesystems, not with files the user has no write access to, ... it "may" create issues for external programs (there was an example of node above, but that can also happen to other programs and scripts) and... cannot be undone by toggling back.
Summary: the feature is very reasonable, but it should not be done outside of explorer.exe (or a "replacing shell with a lot of efforts") as this is about "looking", not about "changing attributes". In my opinion it is a feature the "explorer.exe" team should handle.
I've stretched that point enough, so I'm out of this specific issue.

The way I would implement such a feature would be:

In the PowerToys menu, have a list of paths the user wants to be impacted (e.g. the user home directory).
Each time a path is added to the list, run a recursive script that updates the flag.
Setup a filesystem watcher to watch for all selected directories and directly update the flag on dotfile creation, rename and move.

Doing so avoids the trouble of having the whole filesystem to watch with possibly network directories.
I believe most users who want this feature are interested in it to hide dotfile from their projects directories, not those from the system.
A warning or/and confirmation could be displayed when adding a new path base on a list of criteria (the path is on a network drive, it contains more than N files which could result in poor performances, etc).
To me, this looks like a good tradeoff between the irreversibility of updating the hidden flag and not messing up the whole filesystem.

This only works if the system-wide setting "Don't show hidden files, system files..." is set. But I'd argue most people who have dotfiles are technical and want to see system files etc.

Personally even as a developer I don't know why I would ever have hidden or system files visible. Hidden files are hidden for a reason; having them visible just create a whole lot of clutter, and on the few occasions I want to find a hidden file there's a quick toggle for that setting in the ribbon menu. As for protected OS files, the times I want those files visible are exceedingly rare (usually when I have to fix some registry issue and need to manually load the hives, which basically never happens these days).

I'm not sure if this is helpful, but instead of a filesystem watcher to hide dotfiles I use Windows system call API injection in order to hide my dotfiles from processes like Windows Explorer - see https://github.com/joshumax/WinHideEx. It avoids the extra IO usage that a filesystem watcher creates, especially when recursively crawling through network shares. Although realistically, Microsoft should just create a filter driver that PowerToys can communicate with to mark dotfiles with the "hidden" attribute. I thought about going that route too but driver signing costs more money than I'm comfortable spending on my weekend project.

Bump.

just use this https://files.community/ it's perfect clean file manager, and you can preview file using spacebar like MacOS

I have created the exact thing as a mod for Windhawk,
Here is the URL: https://windhawk.net/mods/dot-hide
GitHub: https://github.com/realgam3/dot-hide-wh

Hi, maybe you could try this tool: HIDELL

source: gharchive/issue

authors: Aaron-Junker Clonkex GitMensch Jay-o-Way MikeMitterer Rinto-kun Victor333Huesca alannt777 cdevers-es crutkas dlgombert enricogior izzalDev joshumax llanc myhrmans octos4murai realgam3 turtlebasket

repo: microsoft/PowerToys

license: MIT

license_type: permissive

license_source: github-api


text:
[Registry Preview] Update all AppBarButtons to use an explicit AppBarButton.Icon (Fix for 27766)

Summary of the Pull Request
A recent update of awesomeness came through this app, cleaning up the UI in various ways, which is amazing.  However, a bug may have snuck back into the code around the icons used in the commandbar in various languages; this brings the fix back into the code.

PR Checklist

[X] Closes: #27766 (regression of #25284)
[X] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[X] Localization: All end user facing strings can be localized

Detailed Description of the Pull Request / Additional comments
In the XAML file, I've removed all references to Icon="Name" and replaced it with a corresponding FontIcon; I also added an explicit FontFamily to the FontIcon to avoid issues across Windows versions and languages, per the "best practices" called out in the WinUI 3 documentation.

Validation Steps Performed
Visually verified the UI:

Thanks. I think I'm missing something. 25284 had a clear cause (code points) and that was fixed. The necessity to have an icon (at all) is a different case. On that point: you've seen the reason why I left them out. I won't hold this back. Just don't feel the urgency.

I personally don't feel an urgency to put those icons back, but I won't hold this back either.
I agree: wouldn't have bothered at all if it wasn't for the chance that some languages and some OS versions would get bad behavior.

No ask for a hotfix but getting it out there with 0.73.0 should be good.

source: gharchive/pull-request

authors: Jay-o-Way randyrants


text:
Compiling for WASM

Hi,
I have a little C++ project which uses SEAL internally, and I'm trying to make JS/WASM bindings for it.
It seems like the library cannot build for WASM using Emscripten, since running emcmake cmake -S . -B build -DCMAKE_INSTALL_PREFIX=~/js-libs and then cd build; emmake make -j fails:
make: make -j
[ 18%] Built target zlibstatic
[ 55%] Built target libzstd_static
[ 62%] Building CXX object CMakeFiles/seal.dir/native/src/seal/batchencoder.cpp.o
[ 62%] Building CXX object CMakeFiles/seal.dir/native/src/seal/ciphertext.cpp.o
[ 62%] Building CXX object CMakeFiles/seal.dir/native/src/seal/ckks.cpp.o
[ 63%] Building CXX object CMakeFiles/seal.dir/native/src/seal/context.cpp.o
[ 63%] Building CXX object CMakeFiles/seal.dir/native/src/seal/decryptor.cpp.o
[ 63%] Building CXX object CMakeFiles/seal.dir/native/src/seal/encryptionparams.cpp.o
[ 63%] Building CXX object CMakeFiles/seal.dir/native/src/seal/encryptor.cpp.o
[ 64%] Building CXX object CMakeFiles/seal.dir/native/src/seal/evaluator.cpp.o
[ 65%] Building CXX object CMakeFiles/seal.dir/native/src/seal/kswitchkeys.cpp.o
[ 67%] Building CXX object CMakeFiles/seal.dir/native/src/seal/memorymanager.cpp.o
[ 68%] Building CXX object CMakeFiles/seal.dir/native/src/seal/keygenerator.cpp.o
[ 70%] Building CXX object CMakeFiles/seal.dir/native/src/seal/modulus.cpp.o
[ 70%] Building CXX object CMakeFiles/seal.dir/native/src/seal/plaintext.cpp.o
[ 72%] Building CXX object CMakeFiles/seal.dir/native/src/seal/randomgen.cpp.o
[ 74%] Building CXX object CMakeFiles/seal.dir/native/src/seal/serialization.cpp.o
[ 74%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/common.cpp.o
[ 75%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/clipnormal.cpp.o
[ 75%] Building CXX object CMakeFiles/seal.dir/native/src/seal/valcheck.cpp.o
[ 77%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/croots.cpp.o
[ 78%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/globals.cpp.o
[ 79%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/iterator.cpp.o
[ 82%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/numth.cpp.o
[ 82%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/hash.cpp.o
[ 84%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/mempool.cpp.o
[ 84%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/polyarithsmallmod.cpp.o
[ 86%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/rlwe.cpp.o
[ 87%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/rns.cpp.o
[ 87%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/galois.cpp.o
[ 87%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/scalingvariant.cpp.o
[ 88%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/ntt.cpp.o
[ 92%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/streambuf.cpp.o
[ 93%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/uintcore.cpp.o
[ 93%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/uintarithmod.cpp.o
[ 93%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/uintarith.cpp.o
[ 94%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/uintarithsmallmod.cpp.o
[ 96%] Building CXX object CMakeFiles/seal.dir/native/src/seal/util/ztools.cpp.o
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarithsmallmod.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarith.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/mempool.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ckks.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ckks.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.cpp:8:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarithmod.cpp:4:
In file included from "Unsupported system"/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:
6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/galois.cpp::6:
4/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:
:In file included from 81/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/galois.h::26::
 In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:error: 6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2:"Unsupported system"
error: "Unsupported system"
#error "Unsupported system"
 ^
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/streambuf.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/streambuf.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/dynarray.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarith.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/clipnormal.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/clipnormal.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/ntt.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/ntt.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/rlwe.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/decryptor.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/decryptor.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/kswitchkeys.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/kswitchkeys.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/plaintext.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/plaintext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/polyarithsmallmod.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/polyarithsmallmod.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/modulus.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/serialization.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/version.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/hash.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/hash.h:7:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/valcheck.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/randomgen.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/randomgen.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/dynarray.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintcore.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/ztools.cpp:4:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/serialization.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/dynarray.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/evaluator.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/evaluator.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/numth.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/numth.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/iterator.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/modulus.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/modulus.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/serialization.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/version.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/keygenerator.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/keygenerator.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptor.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptor.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/batchencoder.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/batchencoder.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/rns.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/globals.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/modulus.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/serialization.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/version.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/scalingvariant.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptor.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/croots.cpp:4:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/croots.h:6:
In file included from /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.h:6:
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/defines.h:81:2: error: "Unsupported system"
#error "Unsupported system"
 ^
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/common.cpp -o CMakeFiles/seal.dir/native/src/seal/util/common.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/common.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/hash.cpp -o CMakeFiles/seal.dir/native/src/seal/util/hash.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/hash.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/mempool.cpp -o CMakeFiles/seal.dir/native/src/seal/util/mempool.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/mempool.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarithmod.cpp -o CMakeFiles/seal.dir/native/src/seal/util/uintarithmod.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/uintarithmod.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarith.cpp -o CMakeFiles/seal.dir/native/src/seal/util/uintarith.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/uintarith.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/clipnormal.cpp -o CMakeFiles/seal.dir/native/src/seal/util/clipnormal.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/clipnormal.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/memorymanager.cpp -o CMakeFiles/seal.dir/native/src/seal/memorymanager.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/memorymanager.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintcore.cpp -o CMakeFiles/seal.dir/native/src/seal/util/uintcore.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/uintcore.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/streambuf.cpp -o CMakeFiles/seal.dir/native/src/seal/util/streambuf.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/streambuf.cpp.o] Error 1
/Users/lielfridman/Projects/C++/SEAL/native/src/seal/randomgen.cpp:73:2: warning: "SECURITY WARNING: System detection failed; falling back to a potentially insecure randomness source!" [-W#warnings]
#warning "SECURITY WARNING: System detection failed; falling back to a potentially insecure randomness source!"
 ^
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/serialization.cpp -o CMakeFiles/seal.dir/native/src/seal/serialization.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/serialization.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/croots.cpp -o CMakeFiles/seal.dir/native/src/seal/util/croots.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/croots.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/galois.cpp -o CMakeFiles/seal.dir/native/src/seal/util/galois.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/galois.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/ztools.cpp -o CMakeFiles/seal.dir/native/src/seal/util/ztools.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/ztools.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/uintarithsmallmod.cpp -o CMakeFiles/seal.dir/native/src/seal/util/uintarithsmallmod.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/uintarithsmallmod.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/ntt.cpp -o CMakeFiles/seal.dir/native/src/seal/util/ntt.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/ntt.cpp.o] Error 1
1 warning and 1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/randomgen.cpp -o CMakeFiles/seal.dir/native/src/seal/randomgen.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/randomgen.cpp.o] Error 1
1 error generated.
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/numth.cpp -o CMakeFiles/seal.dir/native/src/seal/util/numth.cpp.o' failed (1)
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/globals.cpp -o CMakeFiles/seal.dir/native/src/seal/util/globals.cpp.o' failed (1)
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptionparams.cpp -o CMakeFiles/seal.dir/native/src/seal/encryptionparams.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/numth.cpp.o] Error 1
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/globals.cpp.o] Error 1
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/encryptionparams.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/polyarithsmallmod.cpp -o CMakeFiles/seal.dir/native/src/seal/util/polyarithsmallmod.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/polyarithsmallmod.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/modulus.cpp -o CMakeFiles/seal.dir/native/src/seal/modulus.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/modulus.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/context.cpp -o CMakeFiles/seal.dir/native/src/seal/context.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/context.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ckks.cpp -o CMakeFiles/seal.dir/native/src/seal/ckks.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/ckks.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/iterator.cpp -o CMakeFiles/seal.dir/native/src/seal/util/iterator.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/iterator.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/rns.cpp -o CMakeFiles/seal.dir/native/src/seal/util/rns.cpp.o' failed (1)
1 error generated.
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/rns.cpp.o] Error 1
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/kswitchkeys.cpp -o CMakeFiles/seal.dir/native/src/seal/kswitchkeys.cpp.o' failed (1)
1 error generated.
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/kswitchkeys.cpp.o] Error 1
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/plaintext.cpp -o CMakeFiles/seal.dir/native/src/seal/plaintext.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/plaintext.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/batchencoder.cpp -o CMakeFiles/seal.dir/native/src/seal/batchencoder.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/batchencoder.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/rlwe.cpp -o CMakeFiles/seal.dir/native/src/seal/util/rlwe.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/rlwe.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/decryptor.cpp -o CMakeFiles/seal.dir/native/src/seal/decryptor.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/decryptor.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/valcheck.cpp -o CMakeFiles/seal.dir/native/src/seal/valcheck.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/valcheck.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/ciphertext.cpp -o CMakeFiles/seal.dir/native/src/seal/ciphertext.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/ciphertext.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/encryptor.cpp -o CMakeFiles/seal.dir/native/src/seal/encryptor.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/encryptor.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/util/scalingvariant.cpp -o CMakeFiles/seal.dir/native/src/seal/util/scalingvariant.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/util/scalingvariant.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/keygenerator.cpp -o CMakeFiles/seal.dir/native/src/seal/keygenerator.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/keygenerator.cpp.o] Error 1
1 error generated.
em++: error: '/usr/local/opt/emscripten/libexec/llvm/bin/clang++ -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Xclang -iwithsysroot/include/SDL -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=15 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -flegacy-pass-manager -Werror=implicit-function-declaration --sysroot=/usr/local/Cellar/emscripten/2.0.15/libexec/cache/sysroot -Xclang -iwithsysroot/include/compat -I/Users/lielfridman/Projects/C++/SEAL/native/src -I/Users/lielfridman/Projects/C++/SEAL/build/native/src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/msgsl-src/include -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/build/thirdparty/zlib-src -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib -I/Users/lielfridman/Projects/C++/SEAL/thirdparty/zstd-src/lib/common -O3 -DNDEBUG -fPIC -std=gnu++17 -c /Users/lielfridman/Projects/C++/SEAL/native/src/seal/evaluator.cpp -o CMakeFiles/seal.dir/native/src/seal/evaluator.cpp.o' failed (1)
make[2]: *** [CMakeFiles/seal.dir/native/src/seal/evaluator.cpp.o] Error 1
make[1]: *** [CMakeFiles/seal.dir/all] Error 2
make: *** [all] Error 2

The main issue seems to be that the system isn't a UNIX-Like or Windows system. Is there any way to build SEAL (and the code that uses it) for WebAssembly?
Thanks.

@lielfr there a few things that prevent compiling to WASM out of the box with emscripten.
There are a few changes needed in CMake and intrinsics. After getting a successful build, you then need to work around marshaling 32-bit numbers as the default 64-bits will not work, thus limiting your precision with BFV. In addition, CKKS is limited to 53 bits of precision due to how data is marshaled to JS numbers which have a max precision of 2^53.
If you want inspiration, you can look at the code of node-seal which is a TS wrapper around the WASM generated by emscripten. Full disclosure - I'm the author of node-seal. It works with both 32-bit numbers, but also 64-bit numbers (represented by BigInts) at the cost of an encoding penalty for BFV.

@s0l0ist You are the expert on this topic. Much appreciated!

@lielfr , I've added a #306 which will allow you to build for WASM. You'll need to create your own bindings or take some from node-seal for inspiration.

@s0l0ist Thanks a lot

authors: WeiDaiWD lielfr s0l0ist

repo: microsoft/SEAL


text:
Support for conda/conda-forge

Is your feature request related to a problem? Please describe.
Today synapseml can only be installed using pip and the artefacts stored on Pypi (or eventually by building sources directly from this GitHub repo). This makes this library not installable using the conda package manager.
Describe the solution you'd like
Having synapseml packaged on conda-forge

@mhamilton723 is this on our roadmap at all?

authors: gnicolasdev k-rush

repo: microsoft/SynapseML


text:
Want message and default config when config malformed

Want hint message printed and default config loaded when config malformed or unrecognized config value met, instead of showing "abort() has been called".
Especially when it's not easy to find the config file.

This is #622

repo: microsoft/Terminal


text:
Module: ts-twoslash npm run test has a number of test failures

I'm considering submitting a PR to ts-twoslash, so before I started, I tried running its current tests, but there were a number of failures. Is this expected?
My steps: Cloned the repo (onto my Mac), then:
$ cd TypeScript-Website/packages/ts-twoslasher
$ npm install
$ npm run test

Here is my test output:
log.txt

Ah, sorry — I had missed the top-level README instructions. Everything's fixed now, after I did yarn install and yarn bootstrap. (yarn bootstrap didn't work for me on Mac, but it worked fine on Linux). Sorry for the noise!

repo: microsoft/TypeScript-Website


text:
Infer literal types for string concatenations and similar expressions

TypeScript Version:  2.1.5
Expected behavior:
const foo = 'world'; // value type: 'world'
const bar = `hello ${foo}`; // value type: 'hello world'

Actual behavior:
const foo = 'world'; // value type: 'world'
const bar = `hello ${foo}`; // type: 'string'

Motivation
For constants which are created from other constants the IntelliSense is often more useful, when we see its value type instead of the "real" type.
More practical example:
const fooBreakpoint = '800px';
const fooMediaQuery = `@media(min-width: ${fooBreakpoint})`;

When fooMediaQuery is used I'd like to see @media(min-width: 800px) as its type instead of string.

When fooMediaQuery is used I'd like to see @media(min-width: 800px) as its type instead of string.

This is interesting, mostly because it sounds like you are leveraging your editor's support of string literal types so that you can quickly glance at a type and get its content.

I'd like to be able to do something like this, building a key using string literals:
type Obj = Record<"a" | "a1" |  "b" | "b1", string>;

function getKey(useA: boolean, useOne: boolean): keyof Obj {
  // [ts] Type 'string' is not assignable to type '"a" | "a1" | "b" | "b1"'.
  return (useA ? "a" : "b") + (useOne ? "1" : "");
}

Adding a cast after the string concatenation makes the error go away, but doesn't actually check that my key generation is still valid if I change Obj.

This would be fantastic to see for indexing into objects with string literals.
const myObj = {
 sourceName: "source",
 sourceId: 1,
 targetName: "target",
 targetId: 2,
}

function getValues(prefix: "source" | "target") {
 return { name: obj[prefix + "Name"], id: obj[prefix + "Id" }
}

It'd be nice to be able to use either string literals or unions.
const bar = "bar";
const foobar = `foo${bar}`; // "foobar"
let union: "bar" | "baz";
const foobarOrFoobaz = `foo${union}`; // "foobar" | "foobaz"
let generic: string;
const stillGeneric = `foo${generic}`; // string

This would be helpful for string enums with a common prefix.
const prefix = "mymodule_"
export enum Actions {
  actionOne: prefix + "action_one"
  actionTwo: prefix + "action_two"
}

This is currently rejected with error TS2553: Computed values are not permitted in an enum with string valued members.

Maybe a const assertion syntax would suit this?
const bar = "bar"; // "bar"
const existingBehaviour = `foo-${bar}`; // string
const dynamic = process.env.BAR; // string | undefined
const existingBehaviourDynamic = `foo${dynamic}`; // string
const barOrBaz = Math.round(Math.random()) ? "bar" : "baz"; // "bar" | "baz"
// A const assertion syntax…?
const fooBar = `foo-${bar}` as const; // "foo-bar"
const fooBarOrBaz = `foo-${barOrBaz}` as const; // "foo-bar" | "foo-baz"
const bad = `foo-${dynamic}` as const; // type error

this is not inferred yet, but now we have #40336 to represent string concatenation t the type level,

Worth noting that if you add as const this should work now with template literal types!
https://www.typescriptlang.org/play?#code/MYewdgzgLgBAZiEMC8MDkB3EAnANgEzQG4YB6UmANwENcBXAUxigE8AHBgLnSz0IChQkWACNq2FDAAGACwa5cSACQBvBCAC+UmNQgwh0Iv3IxTpgHoB+IA

This was fixed in #53907, which I believe has enough testing for this.

authors: DanielRosenwasser ascott18 bradzacher donaldpipowitch fjmorel jakebailey jcalz mortoray vdh

repo: microsoft/TypeScript


text:
spec for call signatures is incorrect

3.9.2.1 Type Parameters

Type parameters may be referenced in parameter types and return type annotations, but not in type parameter constraints, of the call signature in which they are introduced.

is incorrect. The following code is permitted, so type parameters can also be referenced in type parameter constrains.
interface I {
    <T, U extends T>(x: T, y: U): T | U
}

The spec is now an "archived" artifact and we won't be tracking defects against it anymore.

authors: RyanCavanaugh fuafa


text:
Type narrowing in loose equality fails for edge cases like empty string and zero

TypeScript Version:  3.8.3

Search Terms:
type narrowing loose equality
type guard loose equality
loose comparison empty string zero
non-strict comparison empty string zero
type guard empty string zero
Code
TS misses edge cases when narrowing down types in loose equality comparisons.
Following the example from the new handbook on Equality narrowing, if you replace the strict equality with a loose equality, you're rocket is ready to explode. If you pass in the empty string and zero the if condition passes and accessing toUpperCase() on a number fails.
function foo(x: string | number, y: string | boolean) {
    if (x == y) {
        // We can now call any 'string' method on 'x' or 'y'.
        x.toUpperCase();
        y.toLowerCase();
    }
    else {
        console.log(x);
        console.log(y);
    }
}

foo(0, "");

It might be worth mentioning, that this is only one out of many edge cases with the loose equality operator. Maybe you want to check more than just my example above. I bet Kyle Simpson (@getify) could give you some more examples.
Expected behavior:
After a loose equality comparison, TS should not narrow down string | number and string | boolean  to string, since a number can equal a string in the edge case 0 == "".
Actual behavior:
After a loose equality comparison, TS narrows down string | number and string | boolean  to string, even though this is incorrect, as seen for edge cases like 0 == "".
Playground Link: Playground Link
Related Issues:

I think this is a duplicate, but I couldn't find anything exact; hard to search for loose equality / double equals / sloppy equals.  There is some related discussion here: https://github.com/microsoft/TypeScript/issues/30540

I dunno whether it's a duplicate, but it definitely is a problem that TS is making incorrect assumptions/assertions about how == will work. I read some of the other threads, and the response tone seems to be "who cares?", but I think this is a problem that should be addressed.
In this cited case, I don't think there's any valid type narrowing that should apply, so if it is being applied, TS should fix that bug.

authors: getify nmain zjopy


text:
Backtick literals in utility types

Search Terms
Template string, Util, Omit, quotes
Suggestion
Allow the usage of template literals in utility types, like here:
type UserWithoutPassword = Omit<User, `password`>;

Currently, this causes the errors Generic type 'Omit' requires 2 type argument(s). and '>' expected..
Quoted from #30962, which proposed a similar change:

This is especially important because the backticks mode of the quotes rule from ESLint breaks programs. While it could be seen as an ESLint bug, I think it should be possible for TS to use raw template string interchangeably with regular strings as long as they don't contain variables.

I'm not really sure if this only belongs to utility types, though, but that's where I faced this problem.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

See #29331

authors: RyanCavanaugh fxedel


text:
4.2 breaks string literal conditional type checking.

Bug Report
In TypeScript 4.1, a type can be constrained conditionally to be a string literal.  In 4.2 conditionals can not enforce string literals
type StringLiteral<T> = T extends `${string & T}` ? T : never;

🔎 Search Terms
string literal, conditional types, breaking change
🕗 Version & Regression Information

This is a breaking change
This changed between versions 4.1 and 4.2
This is the behavior in every version I tried, and I reviewed the FAQ for entries about string literals
I was unable to test this on prior versions because string template literals were introduced in 4.1

⏯ Playground Link
Playground 4.1
Playground 4.2
💻 Code

// We want to only allow string literals
type StringLiteral<T> = T extends `${string & T}` ? T : never;

const literalToConstrainedLiteral : StringLiteral<'bob'> = 'bob'; // Should be allowed as bob is a string literal

// 4.1 and 4.2: Produces a GOOD compiler error as bob is constrained to be a literal. StringLiteral<'bob'> resolves to 'bob'
const stringToConstrainedLiteral : StringLiteral<'bob'> = ('bob' as string);

// 4.1: GOOD: StringLiteral<string> resolves to never.
// 4.2: BAD: StringLiteral<string> resolves to string.  No compiler error produced.
const stringToString : StringLiteral<string> = ('bob' as string);

// use case: Ensure that someone is only registering via a string literal.  Useful when using callback maps based on discriminated unions.
function registerAction<T>(action : StringLiteral<T>) {}

// This is good since 'clicked' is a literal
registerAction('clicked');

//4.1: GOOD: Produces a compiler error
//4.2: BAD: Compiler allows this
registerAction('clicked' as string);

🙁 Actual behavior
TypeScript 4.2 does not produce compiler errors when the type is too wide.
🙂 Expected behavior
Produces compiler errors when the type is too wide.

Seems like we didn't used to simplify `${string}` to string, which was probably a bug. I understand the desire for an "only assignable to string literals" operator, but I think the new behavior makes sense. I just can't look at the code that's provided and understand why `${string & T}` should ever reject string in the cases where T is instantiated with string.

Hmm, this was my train of thought - Since string literal templates should only allow literals as input then it makes sense that only a literal passed into a template can actually resolve to a literal type.
type AB<T extends string> = T extends `${string & T}AB` ? T : never;
type ABTest = AB<'foo'>; // makes sense that this is never.  The condition is: 'foo" extends 'fooAB'

type A<T extends string> = T extends `${string & T}A` ? T : never;
type ATest = A<'foo'>; // makes sense that this is never.  The condition is: 'foo" extends 'fooA'

type Same<T extends string> = T extends `${string & T}` ? T : never;
type SameTest = Same<'foo'>; // Should be 'foo' because -  The condition is: 'foo" extends 'foo'

playground
Next is for the sake of consistency and maintaining the spirt of literals being a narrowing mechanism.
//4.1: resolves in intellisense to `${string}`
//4.2: resolves in intellisense to string
type Foo = `${string & string}`;

//4.1: resolves in intellisense to `${number}`
//4.2: resolves in intellisense to `${number}`
type Num = `${number & number}`;

playground
I am using a string literal template, and I would hope that a string literal template would ALWAYS resolve to a string literal, and not promote the contents of the ${} outside the literal itself.  The input of a string literal template should always be a literal.  If it doesn't make sense for ${number} to widen, then neither should ${string}.
type NotReallyALiteral = `${string}`;
const someValue : NotReallyALiteral = ('something' as string);

Side note: this breaks all of my type declaration code if this is not a regression.

@ahejlsberg thoughts?

Daniel is correct, we used to not reduce `${string}` to string, but we now do--and it's the right thing to do. There should be no observable difference in behavior between those two types.
I'd suggesting writing the StringLiteral<T> type as this instead:
type StringLiteral<T> = T extends string ? string extends T ? never : T : never;

That works in both 4.1 and 4.2 and really makes more sense--it expresses anything that extends string but isn't string itself.

Thanks, and that's a super clever alternative.  Thank you all for your time on this!

authors: DanielRosenwasser RyanCavanaugh ahejlsberg akutruff


text:
Feature Request: Insert Line Breaks When Formatting

Suggestion
Given this code:
assert.deepStrictEqual(
  context.getAndClearViewStates(),

  [
    'foo[bar]',
    'foob[ar]',
    'foobi',
    'foobi[zz]']
);

If I format this code, I would expect the outcome to be
assert.deepStrictEqual(
  context.getAndClearViewStates(),

  [
    'foo[bar]',
    'foob[ar]',
    'foobi',
    'foobi[zz]'
  ]
);

However, currently the formatter does nothing on the input code.
It would be nice if this is supported.
🔍 Search Terms
Formatting, Formatter, Line Break, Prettier
More Example
This is also not formatted when invoking the formatter:
const range = word ? { startLineNumber: 1, startColumn: word.startColumn, endLineNumber: 1, endColumn: word.endColumn } :
  Range.fromPositions(pos);

Thanks!